Jump to content

DayDreamer16

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

DayDreamer16's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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.
  2. 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.
  3. i don't know much php but i can work my way around some things.
  4. 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.
  5. 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).
  6. 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.
  7. its the same as above. it says it doesn't exist.
  8. 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?
  9. 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 http://deathdreamer16.site11.com/upload/index.html
  10. 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'>"; ?>
  11. I believe Jw Player has support for those file types. http://www.longtailvideo.com/players/jw-flv-player
  12. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.