TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 4 of 4
Search took 0.03 seconds.
Search: Posts Made By: Shane
Forum: General 10-25-2007, 11:01 PM
Replies: 6
Views: 592
Posted By Shane
For some reason I was thinking that calling it...

For some reason I was thinking that calling it where I did would do what I was needing. I'm very novice when it comes to php and screw up way to much! I fixed the problem by reading the tutorial...
Forum: General 10-25-2007, 09:04 PM
Replies: 6
Views: 592
Posted By Shane
define('DIRECTORY', 'images/'); function...

define('DIRECTORY', 'images/');
function getImageName($szImage)
{
$filename = getImageName($_FILES['filetoupload']['name']);
$iIndex = 2;

if(!file_exists(DIRECTORY . $szImage))
{
...
Forum: General 10-25-2007, 08:01 PM
Replies: 6
Views: 592
Posted By Shane
I tried what you were saying. I might not be...

I tried what you were saying. I might not be doing it right, but its just overwritting the ones that are already upload.

<?php

$upload_dir = "images/";
$size_bytes = 524880; // = 5...
Forum: General 10-25-2007, 05:52 PM
Replies: 6
Views: 592
Posted By Shane
Uploading a Image

I have written a upload script and I ran into a small problem I didn't even think about. Say someone uploads logo.gif, if another person comes about and has a logo.gif they wanna upload then it...
Showing results 1 to 4 of 4

 

All times are GMT. The time now is 02:25 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design