Jump to content
php.lv forumi

Recommended Posts

Posted (edited)

Sveiki

 

<form method="post" action="http://localhost/designer/upload-image?step=2" target="formUploadFrame" enctype="multipart/form-data">
<input type="file" name="tmp">
<input type="submit">
</form>
<iframe class="f" name="formUploadFrame" id="formUploadFrame"></firame>

 

klients izvēlās savu failu, spiež submit.

 

upload-image?step=2 izvadot ar print_r REQEUST vai POST abi neko neizvada, izņemot teiksim REQUEST PHPSesiju.

 

Kāda varētu būt problēma ?

Edited by EdgarsA
Posted

Varbūt kautko labu izvada print_r($_GLOBALS) ?

 

tev tur firame vieta jābūt iframe. Action atribūtā ir pareizi, ka absolūtais URLis lietots, pie tam localhost?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...