PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ChadRT
New Member
New Member


Joined: Mar 02, 2006
Posts: 7

PostPosted: Sun Jul 22, 2007 9:45 pm Reply with quote Back to top

I have been making a lot of modifications to the profiles section for an upcomming major change. I am near completion only having one mod left to complete. I found a lot of great scripts out there for uploading photo's but this particular one is really it automatically resizes the photo unless it is already smaller than the required size. And it will limit size so I decided to try my hand at incorporating this script. I have done ok with it I ironed out the bugs that were making the whole screen go white and I have converted the form portion to an all PHP instead of using php tags within for the variables. But when I click on the Upload button it does nothing but die rather abruptly. I think it is a problem in passing variables. If someone could look it over that would be great.

Link to script:
Only registered users can see links on this board!
Get registered or login to the forums!


There are three major sections to this script the first is the uploader code and I have placed that in a custom function within the Your_Account index.php code and the second is the html and the third is a function that this script relys on. I added that function and the main script into my Your_Account function and I placed my rewritten form into there as well. I need to know how the "case" should look. If someone could help me out that would be great and I think I may need to change how the script receives the "POST" information from the form and the "case". Thank you...

My current case:
Code:
case "editphoto":
    editphoto($MAX_FILE_SIZE, $imgfile);
    break;


But I am sure that is not correct.
View user's profile Send private message
ChadRT
New Member
New Member


Joined: Mar 02, 2006
Posts: 7

PostPosted: Sun Jul 22, 2007 11:53 pm Reply with quote Back to top

I just read some post by Evaders I didnt realize that you all had the mods as NukeResources site. I have double posted I hope no one gets upset that I posted the same thing at two sites. Wink
View user's profile Send private message
ChadRT
New Member
New Member


Joined: Mar 02, 2006
Posts: 7

PostPosted: Fri Jul 27, 2007 6:25 pm Reply with quote Back to top

I am really desperate here I have tried just about everything I could think of. I am ready to beg here and no wants a grown man to beg. lol
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Fri Jul 27, 2007 6:49 pm Reply with quote Back to top

Well just some general debugging advice. Turn on error reporting and check your error logs. That may help you find the problem.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum