PHP - Help Me With Adf.ly Clone
hii i created and adf.ly clone but i'm facing few problems.
1) Whenever i'm using links to shorten them, it continuously shows "shrinking", but no shorten url is coming out... 2)Whenever i tried to login with (email = eternalcruize@gmail.com and pass = 9830737829), it shows ( Deprecated: Function eregi() is deprecated in /home/subhomoy/public_html/short/index.php on line 34) 3) in the admin panel (http://www.bluedemon.x10.mx/short/admin) with details (username = subhomoy and pass = 9830737829). After logged in and when clicking in the "manage links", it shows all the shorten urls in that panel, but not showing to the users when shortening... 4)During submission of the registration form, it goes on showing registering, without showing (Registration is succesfull. Please check your email for the confirmation). But when seeing from the admin panel, in the manage members area, it shows the member who have been registering... the demo url is ( http://www.bluedemon.x10.mx/short/index.php ). ( login = eternalcruize@gmail.com and pass = 9830737829 ) the admin panel is ( http://www.bluedemon.x10.mx/short/admin/index.php ). ( login = subhomoy and pass = 9830737829 ) can any one help me to get rid out of here... I have attached the following page for you to get the source code... The person who helped me I'll give you the script for free. It's my promise... Similar TutorialsHey guys, i'm creating a facebook clone. Almost there, got the main/basic features all done, however i've got one piece of code which is really bugging me, don't worry about it being messy and horribley coded. I will be improving and optimising it every chance i get once i've got this down. it's on the main page, i want it to display all recent status' that have been made, i can display them however i think i've bugg'd the SQL somewhere and it's driving my crazy, any help would be greatly appriciated Thanks Code: [Select] <?php $sql = mysql_query("SELECT * FROM statuses ORDER BY id DESC"); $sql = mysql_query("SELECT * FROM statuses LEFT JOIN users ON statuses.userid = users.id"); while ($row = mysql_fetch_assoc($sql)) { $status_id = $row['id']; $status = $row['status']; $time_posted = $row['time_posted']; $sql2 = mysql_query("SELECT username,avatar_url FROM users WHERE id=$userid LIMIT 1"); while ($row2=mysql_fetch_array($sql)){ $usernamestatus = $row2['username']; $avatar_url = $row2['avatar_url']; echo '<div id="content">'; echo "<img src='/photos/$usernamestatus/$avatar_url' height='50px' width='50px' />"; echo "<a href=\"profile.php?id=$userid\">". $usernamestatus ."</a>"; echo "<br />"; echo $status; echo " <span class=x><a href=delete_status.php?id=$status_id>x</a></span>"; echo "<br />"; echo time_ago($time_posted); echo "<br />"; echo "<br />"; echo "</div>"; } } } ?> Deprecated: Function session_register() is deprecated in /home/james/public_html/funshizzle.com/install/session.php on line 0 That is my error, I have no idea, What is it? I came across the PHP clone method. Does this clone first level fields and methods or does it also do deep copying e.g. copying references to those fields. For example, a field may be an array. Does it make a copy of the actual array or does it refer to the same array position in memory, so if the original changes, then the copy's changes as well?
|