/    Sign up×
Community /Pin to ProfileBookmark

Java/php Confusion

I have a funny problem
a picture upload:

[code]
<FORM ENCTYPE=”multipart/form-data” ACTION=”picture1.php?íd=<?php echo $numb.”&japs=”.$japs ?>” METHOD=”POST”>
The file: <INPUT TYPE=”file” NAME=”userfile”>
<INPUT TYPE=HIDDEN NAME=”clientnumber” value=”<?php echo $clientnumber ?>”>
<INPUT TYPE=”submit” VALUE=”Upload”>
</FORM>
[/code]

when the upload button is pressed and the page refresh
i get:

[code]
[url]http://www.whatever.com/picture1.php?íd=78&japs=1[/url]
[/code]

I tryed to acces the id with
$id=$_POST[‘id’];
$japs=$_
POST[‘japs’];
but they return a empty string
and the HIDDEN also dont returns anything
why what is wrong????

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@7studMar 08.2005 — ...and what exactly does your question have to do with javascript?
Copy linkTweet thisAlerts:
@reverentxauthorMar 08.2005 — the problem is in the java ill think

how do i get the variable when it refreshed

i know i do that in php

but this i like to know

what is the POST exact doing and how do i catch the variable when the page is refreshed( diffrent between POST and GET )
×

Success!

Help @reverentx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...