Jump to content

JustinMs66@hotmail.com

Members
  • Posts

    138
  • Joined

  • Last visited

    Never

About JustinMs66@hotmail.com

  • Birthday 08/21/1986

Contact Methods

  • Website URL
    http://sleekupload.com/

Profile Information

  • Gender
    Male

JustinMs66@hotmail.com's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. right now i am using http://ip.goes.here/~admin/ to view my website until i switch dns over this new server. http://ip.goes.here/~admin/ points to /home/admin/public_html/. I have an .htaccess in /home/admin/public_html/ saying: RewriteEngine On allow from all RewriteRule ^contact$ contact.php when i go to http://ip.goes.here/~admin/contact.php, it works, but when i go to http://ip.goes.here/~admin/contact, it says: however, i checked it with SSH, and that file does exist. so .htaccess is looking in the wrong place. is this because of the extra directory /~admin/ in the url i have to use until i switch, is it screwing things up?
  2. when i try to use: imagecreatefromjpeg($filename) i get this error: gd-jpeg: JPEG library reports unrecoverable error: in filename. I have GD 2.0.34 installed with PHP 5.2.10, and when i print gd_info(), it says [JPG Support] => 1 just as PNG and GIF support, but only JPG won't work! I have been through every possible article that google gives me about this error with no success. i tried setting this in php.ini, with no effect: gd.jpeg_ignore_warning = 1 I tried installing GD 2.0.36 manually to overwrite the other GD = no change I tried installing GD 2.0.36 manually to another location and specifying that location when i configure php, which resulted in a different error: filename is not a valid JPEG file I tried manually installing libjpeg and specifying that manually when i configured php = no change Does anyone know how to fix this?
  3. Nevermind, this worked. i put this in my httpd.conf: <IfModule alias_module> Alias /home/admin/public_html/ /home/admin/domains/domain.com/public_html/ </IfModule>
  4. in my .htaccess: RewriteRule ^edit/layout$ edit_layout.php but it returns a 404, but not because the regex isn't working, its because its looking in the wrong directory and i don't know why: The requested URL /home/admin/public_html/edit_layout.php was not found on this server. but my correct directory is: /home/admin/domains/sleekupload.com/public_html/ where can i change this?
  5. before i switched servers (to an unmanaged linux vps), a php script would load progressively. if i had a copy command, the text printed above the copy command would load and then the page would be slow for a while while it copies. now, after switching servers, the page won't load at all until everything is completed. Is there some way i can change the configuration to have the old way back?
  6. it's actually not the real question, the real question is the one i posted above.
  7. I am trying to get curl to work with a proxy. But it never works! Is my code correct? I have tried many different proxy ip's, all having the same result! For example, some came from here: http://www.publicproxyservers.com/page1.html $url = "http://google.com"; $proxy = "89.250.7.160:3128"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_PROXY, $proxy); curl_setopt($ch, CURLOPT_HTTPproxyTUNNEL, 1); curl_exec ($ch); print print_r(curl_getinfo($ch)); curl_close($ch); When it prints the info array, most of it has a value of "0"
  8. I want to do a select query with like: SELECT * FROM this,that WHERE this.a = '1' AND that.b = '0' but when i do, this and that are mixed together in the array, overwriting eachothers row names if they are the same. How can i fix this?
  9. I am trying to have this query work: UPDATE actions, users SET actions.days = actions.days - TIMESTAMPDIFF(DAY, '2008-07-21 13:26:56', NOW()) WHERE TIMESTAMPDIFF(DAY, '2008-07-21 13:26:56', NOW()) >= 1 AND ((actions.fromid = '1269323825' OR actions.toid = '1269323825') AND users.user = '1269323825' AND actions.days >0 AND actions.days < 90 AND actions.type='P') And when i try that, i get: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(DAY, '2008-07-21 13:26:56', NOW()) WHERE TIMESTAMPDIFF(DAY, '2008-07-21 13:26:5' at line 1 But i don't see a place when its wrong. Can anyone help please?
  10. Tables: table: video important rows: id int(30) randname int( gameid int(10) groups text table: games id int(30) name text consoles text Samples: Games: id: 8 name: Half Life 2 consoles: 4,8,9 Video: id: 6 randname: 57954341 gameid: 8 groups: 78239 Now i want to get all videos which it's game has the console number 4, and that are in the group 78239. I can get the group, but getting the console of the game is different, i'm not sure how to do it.
  11. Doing that worked, but now its back to displaying the same video each time.
×
×
  • 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.