Search found 33 matches

by calmchess
Fri Jan 19, 2007 9:50 am
Forum: Installation and Configuration
Topic: php install issue
Replies: 4
Views: 816

doesn't have any errors i just can't make php work with apach on linux when compliling php from source...i need to compile from source because i need it compiled with gd.
by calmchess
Thu Jan 18, 2007 10:18 pm
Forum: Installation and Configuration
Topic: php install issue
Replies: 4
Views: 816

php install issue

hi I'm trying to install php 4.4.4 on linux running apache 2 now I was able to configure and make php but I can't get apache to see it I've read a tutorial about it but no matter what module i load in httpd.conf apache doesn't start anybody had this problem or know what I should add to httpd.conf?
by calmchess
Wed Jan 17, 2007 12:15 am
Forum: PHP - Code
Topic: image resize problem
Replies: 10
Views: 797

yeah I have likd GD 2.0.38 or some such noise all that stuff is supported ....I know that because the script runs fine without any errors when i run it from the command line .....If i were to comment out php_gd2.dll in php.ini then it doesn't run at all so I think GD is working properly but there is...
by calmchess
Wed Jan 17, 2007 12:07 am
Forum: PHP - Code
Topic: image resize problem
Replies: 10
Views: 797

GD 2.0
by calmchess
Tue Jan 16, 2007 11:59 pm
Forum: PHP - Code
Topic: image resize problem
Replies: 10
Views: 797

I already did that and it is enabled.
by calmchess
Tue Jan 16, 2007 11:51 pm
Forum: PHP - Code
Topic: image resize problem
Replies: 10
Views: 797

here is the first error which i fixed but then i get the second error in the apache file. but I don't get those errors at all if i run it from the command line. [Tue Jan 16 23:43:40 2007] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function: imagecreatefromjpeg() in C:\\webserver\\...
by calmchess
Tue Jan 16, 2007 11:35 pm
Forum: PHP - Code
Topic: image resize problem
Replies: 10
Views: 797

oh thats just a typo .....doesn't matter anyway it can use any formatte it wants.....anyway..... i just browse to bring up the webpage and nothing happens...anytime i do that with another php page everything works fine just not this one page its strange....however if i use the command line (php resi...
by calmchess
Tue Jan 16, 2007 11:08 pm
Forum: PHP - Code
Topic: image resize problem
Replies: 10
Views: 797

image resize problem

I have the following code which resizes an image fine if i run the script from the command line using php debugger ...works 100% that way but if I run it from a webpage it doesn't do any thing ...why? <?php // The file $filein = 'chels3.jpg'; // File in $fileout = time().'.jpg'; // Fileout - optiona...
by calmchess
Mon Jan 08, 2007 2:14 pm
Forum: PHP - Code
Topic: php question
Replies: 6
Views: 1110

thanks guys
by calmchess
Mon Jan 08, 2007 1:46 pm
Forum: PHP - Code
Topic: php question
Replies: 6
Views: 1110

php question

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] how do I ...
by calmchess
Fri Jan 05, 2007 1:48 pm
Forum: PHP - Code
Topic: php picture upload question
Replies: 3
Views: 1189

well I think you misunderstand I need to echo the file name so that the file name can then be sent to a flash page......how would I echo the pics file name from the php upload page?
by calmchess
Fri Jan 05, 2007 11:55 am
Forum: PHP - Code
Topic: php picture upload question
Replies: 3
Views: 1189

php picture upload question

Hi I'm creating a php script that will upload a picture to a directory on my webserver but I need it to put the files name mypic.jpg into a variable....how do I instruct php to record the files name and put it to the var?
by calmchess
Sun Oct 22, 2006 4:57 pm
Forum: PHP - Code
Topic: shell_exec
Replies: 1
Views: 257

shell_exec

how do I execute shell_exec(); from a webpage? I don't have a problem using it if i run the php file from the command line...but if i stick it on my webserver then browse to and open the webpage it doesn't work.
by calmchess
Mon Sep 04, 2006 3:23 pm
Forum: PHP - Code
Topic: php parse error help me!
Replies: 7
Views: 1232

I found the solution to my problem thanks for your support.....here is the working code if anybody is intreasted. >>>>>>>>>>>flash sends data to php file via $listings variable>>>>>>>>>>>php saves data within xml tags inside a text file. note: the anastasio.txt file is overwritten each time the php ...
by calmchess
Mon Sep 04, 2006 1:34 pm
Forum: PHP - Code
Topic: php parse error help me!
Replies: 7
Views: 1232

here is what i want to do i want to save everything after echo to a text file....... $listings is a variable which contains text that is passed to the php page by a flash page.