[PHP] dynamic
dear friends :), i have problem with dynamic image displaying here the snippets thumb.php img.php problem is i always get broken images, someone know how to fix this ? thx in advance anuwidy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] dynamic
Daniel Brown wrote: Hello, Anugrah. On 9/18/07, Anugrah Widya <[EMAIL PROTECTED]> wrote: i have problem with dynamic image displaying here the snippets thumb.php img.php From your above examples, two questions come to mind: 1.) Is thumb.php in a folder above `data`? If not, adjust your path accordingly. 2.) When using the query ?filename.jpg are you going to call that as an $argv[1] variable? If you want to use it as a $_GET, $_POST, or $_REQUEST, it will need a variable name with an assigned value. For example: L>thumb.php -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Give a man a fish, he'll eat for a day. Then you'll find out he was allergic and is hospitalized. See? No good deed goes unpunished thank you Mr. Brown for your reply, yep thumb.php and img.php are in the same level correction for img.php i don't know what wrong with it, when i save the image data to another files, the image didn;t corrupted, but when displayed dynamically it's corrupted.., and the path are ok ;) did i miss something on this, and i didn;t aware of it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] can't open file
dear php developer, i have weird situation here, i can't create a file in 777 mode directory and stay in same server, is this a bug ?? fyi. i'm using fc6, and php 5.1.6 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] can't open file
Stut wrote: Anugrah Widya wrote: dear php developer, i have weird situation here, i can't create a file in 777 mode directory and stay in same server, is this a bug ?? fyi. i'm using fc6, and php 5.1.6 I'm not sure I understand what the problem is. Please post the code you're using and a more detailed description of what you're trying to achieve and what's actually happening. -Stut here the situation is, i have two domain (two website), and both stay in same server, and use same php Website A -> /var/www/html/A Website B -> /var/www/html/B website A would like to create some file in website B, in /var/www/html/B/var/tmp/queue, and that map is in 777 mode created by script what i got is the fopen() won't succeed to create the file in website B but if i test to write into /var/www/html/A/var/tmp/queue in website A admin it succeed is it because of some configuration in php.ini i didn't activate or what ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php