SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
// Your Language Preference !!
// You can add
brack it in twos or three...
$site = "short urls"; //site title
$line = "Hello Welcome to short urls!
There is a limit per user is 2
You need to enter [url]http://domain.com[/url]
"; //at domain enter top
$line1 = "Your IP for keep track of"; // at domain enter buttom
$line2 = "All done your old url is";// at domain send top
$line3 = "Your new url is"; // at domain send buttom
$line4 = " URLs shortened so far";
$submit = "submit"; // The enter
$error = "LOL you can't enter this with out a url mate"; // error message
$try = "Try Again Mate;)"; // error try again
$try2 = "Back"; // back to try again
$cant = "Sorry your over the limit of this services.";
$terms = "HERE";
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
if you dont like zencoded scripts this is an easy one to make .. it could be improved also . the current script is easy to duplicate , would take 10 mins to code and 10 mins tops to security test
make ur table, you need an ID and url field minimum, you may also want to store user ip of submitter ect but id and url are the only ones u need , the rest is optional
create a submission form, you submit url, the script inserts into DB then using mysql_insert_id() u get the id of the submission and append it to the string http://www.example.com/go.php?id=mysql_insert_id()
then when a user clicks the link it goes to go.php and u just need to get the url from database and redirect .. i.e.
<?php
$id = 0+$_GET['id'];
if($id == 0)
die("feck off");
$res = mysql_query("SELECT url FROM links WHERE id = $id LIMIT 1");
if(mysql_num_rows($res) != 1)
die("feck off again");
$url = mysql_fetch_row($res);
header("Location: $url");
?>
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
actually as long as the var is contained within a double quoted string it will be fine , if you put it in a single quoted string like you just did, you cause an error
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
Originally posted by PHP.netthe PHP Parser will not attempt to parse strings encapsulated in single quotes (as opposed to strings within double quotes) and therefore outputs exactly what it's being fed with
i know what u mean now .. and you still dont need single quotes.. ur referring to single quotes used in the query parsed by the mysql engine, NOT the PHP engine. everything within the double quotes of the query string is sent to mysql unless parsed by php first, single quotes within mysql queries do work but thats the only time they do
but back to ur comment.. which could have been explained better to avoid confusion ... PHP6 is basically a major security update with some unicode reworking on the backend .. 99.9% of SECURE scripts that work on php5 will still work on php6... thats straight from the dev's mouth.. since the $id is an int not a string it doesnt not require quoting
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…