|
|
|
|
Thread title: Im bored, So request a script. |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
10-09-2006, 07:39 PM
|
#1
|
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
Posts: 1,316
|
Im bored, So request a script.
Im actually really bored atm so i will make some free SMALL php scripts for people, The only thing you have to do is request the small script and give a testemonial afterwards.
Stevem
|
|
10-09-2006, 08:06 PM
|
#2
|
Status: Junior Member
Join date: Jan 2006
Location:
Expertise:
Software:
Posts: 25
|
how small of a script
|
|
10-09-2006, 08:08 PM
|
#3
|
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
Posts: 1,316
|
A small script is a small script, post it and I will say if I will do it or not, and those wondering about bigger php scripts, I do do paid work, but no in this thread!
|
|
10-09-2006, 08:09 PM
|
#4
|
Status: Ready for Action
Join date: Aug 2005
Location: UK
Expertise:
Software:
Posts: 2,775
|
I request a custom proxy script... Pweese ^^
Or a custom image host script
|
|
10-09-2006, 10:03 PM
|
#5
|
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
Posts: 4,625
|
Originally Posted by Marky
I request a custom proxy script... Pweese ^^
Or a custom image host script
|
Coding a proxy script would be a huuuuge project.
|
|
10-09-2006, 08:09 PM
|
#6
|
Status: Junior Member
Join date: Jan 2006
Location:
Expertise:
Software:
Posts: 25
|
how about a small comment/tag/msg box that i can include anywhere on a site? too big?
|
|
10-09-2006, 08:12 PM
|
#7
|
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
Posts: 1,316
|
Originally Posted by Yze
how about a small comment/tag/msg box that i can include anywhere on a site? too big?
|
Tell me more
Originally Posted by Marky
I request a custom proxy script... Pweese ^^
|
Hmm, Maybe too big, what do you mean about the image hosting script?
|
|
10-09-2006, 08:13 PM
|
#8
|
Status: Ready for Action
Join date: Aug 2005
Location: UK
Expertise:
Software:
Posts: 2,775
|
Originally Posted by webmonkey
Tell me more
Hmm, Maybe too big, what do you mean about the image hosting script?
|
I mean just a simple upload your picture and come out the other side sort of thing
But come to think of it, I wouldn't really have a use for an image host script
|
|
10-09-2006, 08:16 PM
|
#9
|
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
Posts: 1,316
|
lol,
Ive written an image upload script before when I was bored, Let me dig it up,
Here:
PHP Code:
<?
//print_r($_POST);
if($_POST["action"] == "Upload Image")
{
unset($imagename);
if(!isset($_FILES) && isset($HTTP_POST_FILES))
$_FILES = $HTTP_POST_FILES;
if(!isset($_FILES['image_file']))
$error["image_file"] = "An image was not found.";
$imagename = basename($_FILES['image_file']['name']);
//echo $imagename;
if(empty($imagename))
$error["imagename"] = "The name of the image was not found.";
if(empty($error))
{
$newimage = "images/" . $imagename;
//echo $newimage;
$result = @move_uploaded_file($_FILES['image_file']['tmp_name'], $newimage);
if(empty($result))
$error["result"] = "There was an error moving the uploaded file.";
}
}
?>
<form method="POST" enctype="multipart/form-data" name="image_upload_form" action="<?$_SERVER["PHP_SELF"];?>">
<p><input type="file" name="image_file" size="20"></p>
<p><input type="submit" value="Upload Image" name="action"></p>
</form>
<?
if(is_array($error))
{
while(list($key, $val) = each($error))
{
echo $val;
echo "<br>\n";
}
}
?>
Anyone else?
** Awaiting testemonia Marky **
|
|
10-09-2006, 08:19 PM
|
#10
|
Status: Ready for Action
Join date: Aug 2005
Location: UK
Expertise:
Software:
Posts: 2,775
|
Originally Posted by webmonkey
lol,
Ive written an image upload script before when I was bored, Let me dig it up,
Here:
PHP Code:
<?
//print_r($_POST);
if($_POST["action"] == "Upload Image")
{
unset($imagename);
if(!isset($_FILES) && isset($HTTP_POST_FILES))
$_FILES = $HTTP_POST_FILES;
if(!isset($_FILES['image_file']))
$error["image_file"] = "An image was not found.";
$imagename = basename($_FILES['image_file']['name']);
//echo $imagename;
if(empty($imagename))
$error["imagename"] = "The name of the image was not found.";
if(empty($error))
{
$newimage = "images/" . $imagename;
//echo $newimage;
$result = @move_uploaded_file($_FILES['image_file']['tmp_name'], $newimage);
if(empty($result))
$error["result"] = "There was an error moving the uploaded file.";
}
}
?>
<form method="POST" enctype="multipart/form-data" name="image_upload_form" action="<?$_SERVER["PHP_SELF"];?>">
<p><input type="file" name="image_file" size="20"></p>
<p><input type="submit" value="Upload Image" name="action"></p>
</form>
<?
if(is_array($error))
{
while(list($key, $val) = each($error))
{
echo $val;
echo "<br>\n";
}
}
?>
Anyone else?
** Awaiting testemonia Marky **
|
oooo that's nice! However, there isn't a display saying "Your image has been saved at: BLAHBLAG.gif"
That would be nice ^^
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
|
|