![]() |
ezUpload form
Hey,hows it goin everyone.Ive been wrestling with code since yesterday evening trying to get the upload form for ezUpload to work within one of my templates in Logicians Web Template product.Ive tried a number of different ways to insert a php include as thats what is needed to insert the form on the page.I know the variables ive defined work as i did a couple test variables and then dropped the variable into my desired web template and the output was as desired.I however,cant seem to get a php include to work within a variable so that i can call it in my web template.Here are a couple of methods ive tried
This was placed in the view.php that accompanies the Web Template product. Code:
//$EZpath = "/home/xstylezx/signyourmelonz.com/ezupload/"; As you can notice,ive tried creating a variable with the path to ezupload directory(which is basicly what was done with the default code supplied by the ezupload install to include it in your page.).I then tried to create a variable with the include(as a note,ive tried many combos of this,even removing the /ezupload/ from the include variable,leaving form.php as path and no cigar either).Finally i created one more variable with my $EZpath and $EZinclude concantenated.The output of all this was an error,not fatal as i didnt use require.The error was basicly the same no matter what way i worked my 3 variables mentioned above Code:
Warning: main(/ezupload/form.php): failed to open stream: No such file or directory in /view.php on line 105 Code:
ob_start(); Code:
ob_start(); Error, the script couldn't find the upload directory (files/). Please make sure it exists. I received the same error when i added the code into global_start under the Web Templates product.I tried doing some more hacking around and havent yet gotten past this error.Im in need of some help by someone more advanced in php than me.Im just a beginner,but have already surprised myself by working out alot of issues before these.Here is the original code provided by the ezupload install to use on your site Code:
<?php $path = "/home/xstylezx/signyourmelonz.com/ezupload/"; include( $path . "form.php" ); ?> |
Curious if anyone has any ideas??Im a bit stumped as to where to go from here
|
All times are GMT. The time now is 02:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|