resome Posted December 24, 2006 Share Posted December 24, 2006 I've tried creating a php page using dreamweaver 8 but as I'm somewhat new to php I can't see where it's gone wrong...http://www.redevolution.info/egg.php[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></head><body><?phprequire_once('http://www.redevolution.info/videoupload/pass/VideoEgg_PassFile.php');require_once('http://www.redevolution.info/videoupload/scripts/VideoEgg.php');?><?php echo VE_EmbedPublisher2('SwapPlayer', 'BasicConfig','FFFFFF', false, 'area=area59,tag', $username,'http://www.mycompany.com', ''); ?><script language="javascript">var VE_SwapPlayerAction_AutoPlay = false;var VE_SwapPlayerAction_Logo ="http://www.redevolution.info/images/h3_e32006_Custom_ChiefCliff1.JPG";</script><script language="javascript">var VE_LoadPageAction_URL ="http://www.redevolution.info/.html";</script><script language="javascript">VE_WriteHTMLAction_HTML="<b>Upload Complete</b>";</script><script language="javascript">// This function will get called when// the Publisher is done.function VE_MyActionName(path, duration, src) {alert("The path of the uploaded movie is " + path);alert("The duration of the uploaded movie is " +duration);alert("The source of the uploaded movie is " + src);}</script><script language="javascript"src="http://update.videoegg.com/js/Player.js"></script><script language="javascript">var VE_api = VE_getPlayerAPI("1.2");var myMoviePath = <path returned by Publisher>;VE_api.embedPlayer(myMoviePath, 350, 330, false, "", "",false, ""<script language="javascript">var VE_api = VE_getPlayerAPI("1.2");var myMoviePath = <path returned by Publisher>;var html = VE_api.getPlayerHTML(myMoviePath, 350, 330,false, "", "", false, "", "");document.write(html);</script><script language="javascript">var VE_api = VE_getPlayerAPI("1.2");var myMoviePath = <path returned by Publisher>;var myThumbnailURL =VE_api.getThumbnailURL(myMoviePath);document.write("<img src='" + myThumbnailURL +"'>");</script><form> <input type=”submit” onClick=”javascript:if (!VE_MovieUploaded()) {alert (‘Pleaseupload a movie’); return false;} else {return true}” size="20"></form></body></html>[/code] Link to comment https://forums.phpfreaks.com/topic/31758-getting-fatal-error-messages-when-creating-php-pages/ Share on other sites More sharing options...
zq29 Posted December 24, 2006 Share Posted December 24, 2006 The errors are indicating that your scrapt can not open/find the two scripts that you are trying to include with require_once().[0]Make sure the files exist where you are looking for them.[0]If running on *NIX, filenames are case sensitive.[0]If running on Windows and your version of PHP is lower than 4.3.0, require_once() does not support remote files. Link to comment https://forums.phpfreaks.com/topic/31758-getting-fatal-error-messages-when-creating-php-pages/#findComment-147271 Share on other sites More sharing options...
resome Posted December 24, 2006 Author Share Posted December 24, 2006 [quote author=SemiApocalyptic link=topic=119815.msg491054#msg491054 date=1166960214]The errors are indicating that your scrapt can not open/find the two scripts that you are trying to include with require_once().[0]Make sure the files exist where you are looking for them.[0]If running on *NIX, filenames are case sensitive.[0]If running on Windows and your version of PHP is lower than 4.3.0, require_once() does not support remote files.[/quote]the 2 scripts (I think) in question are located at ('http://www.redevolution.info/videoupload/pass/VideoEgg_PassFile.php');require_once('http://www.redevolution.info/videoupload/scripts/VideoEgg.php');my php version is 4.4.4 http://www.redevolution.info/info.phpnot quite sure what you mean by running on windows? i take it you mean the server? which I think is an apache.would I need to change the code somewhere so it points in the right direction?? Link to comment https://forums.phpfreaks.com/topic/31758-getting-fatal-error-messages-when-creating-php-pages/#findComment-147272 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.