Jump to content

Recommended Posts

Hey guys love your site!

 

Alright, what I'm trying to do is be able to pass a header to a page with a giving file.

 

I will try to explain. I'm working on writing a script that will allow me to pass a file name to a feild of type=file. I have seen some other ways of doing this mostly in activeX but thats more work then what i want to do and defeats the reason. I want the script to go to a set page and put the file name in the field and upload it.

 

The reason why i want this is because my co-workers don't like all the steps it takes to upload the files that we need to.

 

This is what we have to do. We take the file (system capture) and then we have to un-crypt this file then upload it to the system. well this really does take a while almost 10mins to do it all.

 

What im looking for is this.. a way to pass a header to the server with file.

 

Sorry for the crappy style.. been up for almost 46 hours now.

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/108791-http-headers/
Share on other sites

 

I'm not sure 100% what you question really is.

 

I _think_ you want to scan a directory with PHP on a local machine and post the required data directly to another script on another server to upload all the files??

 

Try looking at CURL, or why can't they just use FTP?

 

Sorry for the crappy style.. been up for almost 46 hours now.

 

I can answer this one, you can fix that by sleeping, but try to sleep regularly over a period

of about 4 weeks :)

Link to comment
https://forums.phpfreaks.com/topic/108791-http-headers/#findComment-558123
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.