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
https://forums.phpfreaks.com/topic/79180-solved-forms/
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
https://forums.phpfreaks.com/topic/79180-solved-forms/#findComment-400834
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.