Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
link
Regular
Regular



Joined: Dec 24, 2004
Posts: 56

PostPosted: Sat Jul 02, 2005 10:30 am Reply with quote

I am making an upload module for php-nuke. I have it already as a stand alone application that works fine.

The problem....

When u access the module.. it allows you to browse and find file.
When u click Upload it is supposed to call a file called.. upload.php

The upload file has the no direct acess code... the mainfile.php..then header.php .. and the footer.php

I know why it gives me the "Cannot access directly" error. But how to i call the file staying within the module.. and without haveing to open up a new window?

the module link
modules.php?name=UploadIt

Thanks Ahead A Time!
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jul 02, 2005 12:05 pm Reply with quote

modules.php?name=UploadIt&file=upload
 
View user's profile Send private message
link







PostPosted: Sat Jul 02, 2005 1:01 pm Reply with quote

Thanks Raven You're the best~!
 
Raven







PostPosted: Sat Jul 02, 2005 2:55 pm Reply with quote

RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©