-
-
How to add meta descriptions for certain URL's
Probably not much help but I have used WPML for multi-lingual wordpress sites and it had no issue working with Yoast. Maybe worth trying that if TranslatePress doesn't work out for you.
-
Inspecting Images
Your $fileLocation variable is probably not a correct file path, it also doesn't need to be in quotes. If file_get_contents cannot find the file in that path it will return false, so your code is passing the boolean false into imagecreatefromstring, and will probably thrown that data is not in a recognized format warning. Echo the $fileLocation variable first to verify it exists, you can also wrap the file_get_contents line in an if statement to prevent the code from being executed if the file cant be found.
-
Get curl details for current page.
What is your CURLMOPT_MAX_HOST_CONNECTIONS option set to? https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_HOST_CONNECTIONS.html I don't really understand your code/filenames but if you're trying to perform an HTTP request on the page that is performing the HTTP request you're likely to get stuck in an infinite loop of HTTP requests. Probably worth checking apache logs to make sure that's not happening.
-
PHP learning material
I learned using "The PHP Developers Cookbook" and the PHP documentation. That book is probably ancient now but the documentation is still a great place to learn from.
-
Hungarian guy looking for your job applying experiences...
What I mean by throughput of staff is like developers will only stay with an employer for a few months/years then move on to something different. If anything there are more jobs than skilled developers here, so companies will try hard to keep their existing staff. For example the company I work for offer a 20% salary bonus, private healthcare, free life insurance, free travel insurance, free bicycle, and some other crap. I checked the average salaries on 'Payscale' and it looks like UK software developer average wage is £30,000. Although bear in mind that the UK is much more expensive to live in than Hungary, especially in London (where most jobs are located).
-
-
GitHub/Local development
I just recently started using a raspberry pi with GIT on it as my repository. Once you have GIT you can automate your environments using Phing.
-
Hungarian guy looking for your job applying experiences...
It all boils down to how good you are and how much commercial experience you have. In my experience its much quicker in the UK. I think the throughput of developers is very high, usually developers working for digital agencies will jump ship every 18 months: they get bored, overworked, under-challenged, underpaid etc. So they look for something new... recruiting is quite painless as it happens so often. Applying for a job usually involves sending a CV and covering letter. Then if they like the look of you you'll get an interview. They might ask you to complete a quiz or some test to check your abilities. After that they'll usually hire you or they wont, a second interview is not very common here. If there are 2 then the first will probably be with HR and the second will be with the lead developer. As I said above it really depends on how good you are & how much commercial experience you've got it also helps if you can start immediately because its not uncommon to be offered the job in the very first interview. 2 of the 3 jobs I've had I was offered them in the interview, even before they had seen other candidates. Nowadays companies have started coming to me to asking if I want a job. That sounds very arrogant but it happens, if you tick all the boxes then they'll want to get you on board as quick as possible. Take code printouts with you to the interview. Something that’s relevant to their business, like a paypal API for an ecommerce company. And put some easter eggs in your code to see if their senior developer can spot them PS please don’t be spam because this took ages to type...
-
Converting .wav to .mp3 audio files
I'm already bald, allow me to help... <?php $output = shell_exec('lame upload.wav converted-upload.mp3'); echo "<pre>".$output."</pre>"; ?>
-
PC Spec
Real world example: Developers in my office use HP EliteBook Mobile Workstations and Designers use Macbook Pro's. The exact model I have is an HP EliteBook 8440p, its fast enough for coding but its a bit slow to compile code and run a local copy of our web application. Virtual machines on it for browser/environment testing are also really slow.
-
-
-
Data lost in MySQL table
ALTER TABLE `xxxxxxxx` AUTO_INCREMENT = 1;
-
Anyone able to do this
Yes. Is this a job offer or you're just interested to know who can do it?
-
Need a Cold Fusion Developer to work on High Profile Project
I can code in ColdFusion but I probably don't have the time to do any freelance work (and I haven't touched it in 10 years). Try posting on devshed 'Hire a programmer forum' and x-post it to the devshed ColdFusion forum. Also try house of fusion forum - http://www.houseoffusion.com/groups/cf-talk/
-
PHP MySQL real time chat application without JavaScript
Sorry, but for me its not the formatting, or suppressing error messages or use of deprecated functions, its running an infinite loop on a web script. The exit point of your script is going to be PHP hitting the max_execution_time, memory_limit, apache will hit the max clients, the server cant spawn any new child processes, etc. essentially an easy DDoS target. I understand you will probably go defensive and say this is a proof of concept, but its a proof of concept that’s fundamentally wrong. If you can't use it in a production environment then surely its a failure? Javascript is used by 92% of users, why not just use it? why not write something a bit more cutting edge like using websockets or node.js ? Something the community would really benefit from.
- 8 replies
-
- php
- mysql
- javascript
- chat
-
Tagged with:
- PHP MySQL real time chat application without JavaScript
-
-
Correct PHP Formatting
Yeah, I agree with rallport, you should use MVC to separate the business logic from the display, it makes it a lot easier to read. EDIT: Just realised this ****ty editor doesn't work so ignore what i said about using PEAR style