problem with php
Posted by: hellasworks (---.dsl.hol.gr)
Date: October 13, 2007 01:57AM

hi,

I have a little prom with something,

I have a php script that upload files into a folder, so after the file is upload the script stop there and I have more things inside my script to run. I mean after the file is upload.
My script run with no problem on my online server, why not offline?

please anyone, It needs something to enable in wamp?

I enable almost all the php settings to solve the problem but nothing.

Thanks

Options: ReplyQuote
Re: problem with php
Posted by: hellasworks (---.dsl.hol.gr)
Date: October 13, 2007 02:29AM

hello, the problem was this line

$im = @imagecreatefromjpeg($path.$_FILES['file1']['name']);

I make this line comment and is working, how to enable this?

Thanks

Options: ReplyQuote
Re: problem with php
Posted by: hellasworks (---.dsl.hol.gr)
Date: October 13, 2007 02:48PM

nobody can't help me on this?
I search but no luck.



Post Edited (10-13-07 14:48)

Options: ReplyQuote
Re: problem with php
Posted by: yfastud (---.se.biz.rr.com)
Date: October 13, 2007 05:02PM

Did you enable gd2 yet? or better install ImageMagick add-on to wamp? Not sure how to enable gd2, follows this

Through wamp tray icon, php settings, php extensions, php_gd2, then restart wamp

Have fun,

[www.jlbn.net] (Basic Guide for WAMP & Add-ons)




Post Edited (10-13-07 17:21)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: problem with php
Posted by: hellasworks (---.dsl.hol.gr)
Date: October 14, 2007 12:32AM

Yes, thank you very much!

Options: ReplyQuote


Sorry, only registered users may post in this forum.