Jump to content

[SOLVED] Forms


rhyspaterson

Recommended Posts

Hey guys,

 

After a very long and arduous chat with the developers of one of our products, i basically need to know is there a PHP (or other) version of:

 

<body onload="document.myform.submit()">

 

Apparently curl can help out here but i have no idea - especially seeing as PHP is a server side language which confuses things a bit. Are there other client side languages out there that could help..?

Link to comment
Share on other sites

what are you exactly trying to do cause that looks to be a pointless script

 

Well no, it's not.

 

It's integrated with our security, therefore it is a different case than normal. All i said was i needed a way to automatically submit a form and have it degrade nicely if JS is disabled.

 

Does that sound pointless to you? Because it doesn't to me. Doing something different doesn't make it pointless. I'm not building a crappy little web page here, it's a tiny part of huge piece of security software. But thanks for the reply.

 

On a happier note, meta refresh can help me out here.

 

<meta http-equiv="refresh" content="0;url=http://x.x.x.x/example.html?VAR1=variable?VAR2=variable?VAR2=variable" />

 

Can pass the variables through the URL and redirect to the page i need to go  :D

 

Thanks all :)

Link to comment
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.