Jump to content

ClemenzoDK

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ClemenzoDK's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello guys, I've created a gallery with hundreds of thumbnails and I want the following functions added to the thumbnails: - When you click the thumbnail, you would be able to switch through 3 different options like; approve, delete, pass. (Very much like radiobuttons) To indicate which option you've chosen the borders will change color. - When you hover on the thumbnail a slideshow will begin. - When you double-click the thumbnail a new window will open. I'm curious if there exists any script close to this, or if it's even possible? Since I'm no shark at JavaScript I would appreciate your help/advise.
  2. I double-checked by running phpinfo() everytime I edited the configs, I also checked both the MySQL and Apache cfg's without luck. UPDATE: I tried the script on my new dedicated server, and it worked perfectly. I then copy-pasted all the configs from my local XAMPP folders, and it still worked perfectly. So I guess it has something to do with my PC in someway, though it's not a heavy script. Anyway, thanks for all the suggestions.
  3. LOL But I'm also pretty confused as to what you're looking for help?
  4. It amazes me that no one has experienced the same problem. I've searched through all MySQL and all Apache configs, but without finding anything that relates to 120 seconds. I've also run a phpinfo(), without any luck. If you guys have any suggestions, please post them - I'm running dry on ideas to solve this.
  5. Thanks for the fast reply. Yes I restarted both Apache and MySQL.
  6. Just tried running it from the command line, and once again the script died exactly after 120 seconds. Can it have something to do with the Apache settings?
  7. Hello, I've made a script that runs a numerous of JSON request to an external source. The JSON data given is being ripped and stored in a MySQL database. Since i'm only testing the script, it's currently being run on my own PC. I've calculated that it will take approx. 55-60 minutes before the script is finished ripping of all the data. But the script dies out after only 120 seconds, without any errors given. I'm using XAMPP on my own PC with the following specs.: + Apache 2.2.17 + MySQL 5.5.8 (Community Server) + PHP 5.3.5 (VC6 X86 32bit) + PEAR I've set the following to unlimited in PHP.ini: + max_execution_time + max_input_time + memory_limit I've also added set_time_limit() to the code without any help. I hope you guys wanna help me out, thanks..
  8. Hello, I'm creating a pretty simple user registration script. The user fills out 5 forms, submits, and if the data is valid he will be redirected to a verify script. Now I have a bit of an issue, I want to send an verification e-mail to the users e-mail address with a verification code before redirecting him to the verify page. The thing is that I've redirecting him within the header, which doesn't allow me to output the verification email. Is there any easy way around this? Regards
  9. Thanks for the quick answer, gristoi, works just perfect!
  10. Hello, I have some issues selecting multiple rows, and yes I'm new to both MySQL and PHP. The query is as following: SELECT *, CONCAT(locations.zip_code, ' ', locations.city) as location from locations, locations_associations where locations.zip_code = locations_associations.zip_code AND client_id = 1; The query works just fine, but the thing is that I have multiple client_id's stored in a PHP array which I also need to know the location of. My logic tells me that the easiest way to insert multiple client_id's into the query, would be to implode the array and then insert each client_id into the query including a seperator of some sort. The alternative would be to create an loop that inserted a client_id one at a time, which seems like a long way around contra imploding. Anyway, is it possible in this case to put in multiple client_id's in the query, and how should they be seperated, I've tried with a comma like this: SELECT *, CONCAT(locations.zip_code, ' ', locations.city) as location from locations, locations_associations where locations.zip_code = locations_associations.zip_code AND client_id = 1, 2, 3, 4; Which gives me an error. Thanks in advance. Btw, I'm running MySQL 5.5.8 on my local machine.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.