PDA

View Full Version : How to access PHP files kept in a folder



buttar
13 Jun 2010, 3:27 AM
Hi,

My first post. Let me thank all those who help.
I want to keep all my PHP files in a folder rather than root directory. Not sure how can I refer the folder in the form below. Its probably not Ext issue, just my ignorance..

// fp.getForm().submit({url: 'phpupload.php',waitMsg: 'Opening file...',success: doThis,

fp.getForm().submit({url: 'php/phpupload.php',waitMsg: 'Opening file...',success: doThis, ???

Thanks

evant
13 Jun 2010, 4:04 AM
It's relative to the current html page you're on. Same as accessing any other url.