CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
simple progress bar in my script

 

First page Previous page 1 2 Next page Last page  View All


FishMonger
Veteran / Moderator

Aug 18, 2012, 2:26 PM

Post #26 of 31 (2626 views)
Re: [gerble1000] simple progress bar in my script [In reply to] Can't Post

Please read this:
http://search.cpan.org/~markstos/CGI.pm-3.60/lib/CGI.pm#FETCHING_THE_PARAMETER_LIST_AS_A_HASH:

You really should thoroughly read that entire document.


gerble1000
User

Aug 18, 2012, 2:26 PM

Post #27 of 31 (2625 views)
Re: [Laurent_R] simple progress bar in my script [In reply to] Can't Post

i think i need to get the hang of sub routines. im assuming its a lot like functions in javascript


gerble1000
User

Aug 18, 2012, 2:47 PM

Post #28 of 31 (2622 views)
Re: [FishMonger] simple progress bar in my script [In reply to] Can't Post

ok im reading through and it says that its a space seporater, fair enough.
i have implemented the array upload_files,
and now its printing warnings on screen like this,


Code
Uploading Image 1 .. ..... Notice: getimagesize(): Read error! in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php:7) in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\g-e-s\roundimage.php on line 80 Warning: imagepng(): supplied argument is not a valid Image resource in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 81 Warning: imagedestroy(): supplied argument is not a valid Image resource in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 83 ... Notice: getimagesize(): Read error! in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\g-e-s\roundimage.php:7) in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 80 Warning: imagepng(): supplied argument is not a valid Image resource in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 81 Warning: imagedestroy(): supplied argument is not a valid Image resource in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\domainname\roundimage.php on line 83 ..Complete 
Uploading Image 2 .. ..... Notice: getima


i have definatly done something wrong


FishMonger
Veteran / Moderator

Aug 18, 2012, 3:06 PM

Post #29 of 31 (2621 views)
Re: [gerble1000] simple progress bar in my script [In reply to] Can't Post

The problem is within your roundimage.php script. One of the adjustments that I made (specifically the warningsToBrower) is showing the warnings that the php script is generating, which were being ignored in your earlier script.


gerble1000
User

Aug 18, 2012, 3:16 PM

Post #30 of 31 (2619 views)
Re: [FishMonger] simple progress bar in my script [In reply to] Can't Post

it only shows it when i use the upload_files array which sounds strange.


FishMonger
Veteran / Moderator

Aug 18, 2012, 3:45 PM

Post #31 of 31 (2617 views)
Re: [gerble1000] simple progress bar in my script [In reply to] Can't Post

Show us your code.

First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives