DayDreamer16
-
Posts
15 -
Joined
-
Last visited
Never
Posts posted by DayDreamer16
-
-
I haven't tested with this script in like 2 years and I find now that its completely recoded. Can someone please help me with this line of code?
This is the error I get
Deprecated: Function ereg() is deprecated in /home/chad/public_html/phpmylogin.com/public/includes/functions.php on line 135
and here's the code line
if(strlen($key)<>32||ereg("[^a-f0-9]",$key))
I've configured everything else now I just need to know how to get this activation working.
-
do you know any php? if not a good book that got me started was: Learning PHP, MySQL, and JavaScript by o'reily
i don't know much php but i can work my way around some things.
-
i'm having trouble with basicly the same thing. but different code. why the hell is it so difficult just to make something to upload a damn image to a server.
-
does anyone know how you would display data from a table onto a webpage? like say i insert things into my database like what ever is in the structure (title, name, number etc).
-
i've already arranged everything so that all paths are right. i still get the same error.
edit-----
i've found an identical script
http://www.wizecho.com/nav=scripts&s=ajax_image
i might just go with this.
-
doesn't work
-
its the same as above. it says it doesn't exist.
-
i thought of that right after i posted this. i created the images/ directory in the upload/ directory i tried it but it didn't work. i also tried chmodding it. any suggestions?
-
Warning: copy(./upload/header.png) [function.copy]: failed to open stream: No such file or directory in /home/a2818626/public_html/upload/upload.php on line 6
Your image has been uploaded and can be viewed here:
http://deathdreamer16.site11.com/upload/header.png
or just test it here
-
I keep getting a php error in line 6, when I try to upload an image with this code.
<?php $imagename = $_FILES['image']['name']; copy($_FILES['image']['tmp_name'], "./images/$imagename"); echo "Your image has been uploaded and can be viewed here: <br>"; echo "http://www.yoursite.com/images/$imagename <hr>"; echo "<b>Preview:</b><br><img src='./hostedimages/$imagename'>"; ?>
-
I believe Jw Player has support for those file types.
-
-
-
i hardly ever make anything with php or even code anything so therefore i'm a newb, but this problem is nagging me.
here's my code
<?php mysql_connect("localhost", "username", "password"); mysql_select_db("database"); $sql = mysql_query("SELECT * FROM searchengine WHERE pagecontent LIKE '%$_GET[term]%' LIMIT 0,$_GET[results]"); while($ser = mysql_fetch_array($sql)) { echo "<h2><a href='javascript:popUp('$ser[pageurl]');'>$ser[title]</a></h2>"; echo "<p>$ser[pagecontent]</p>"; echo "<p><a href='$ser[link]'>$ser[link]</a></p>"; } ?>
i have this code in the header
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=150');"); } // End --> </script>
i cant get the page to popup within the php echo, can anyone help? i'm sure its a simple fix.
-
Hey. I'm DayDreamer, you can also call me DeathDreamer.
PhpMyLogin Help
in PHP Coding Help
Posted
Never mind, it was a whole different problem. It was sending me to the official PhpMyLogin website for activation for some reason. I still do not know how I fixed it. So just disregard this whole thread.