What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » two things

two things
Author: Message:
Dox
Junior Member
**


Posts: 34
34 / Male / –
Joined: Oct 2005
O.P. two things
Firstly, if I have a php form is there a way so when a user clicks the button to submit it submits but you stay on the same page?

Secondly, I put a php code on one of my pages that writes text to a file called log.txt but it didn't work so one of my friends told me to change my permissions on public_html to 7-5-5. I have done all that but I don’t really understand how permissions work so can someone tell me.

Thanks.
[Image: phpuser.jpg]

[Image: elixant%20user.gif]
Want 35% off all Elixant hosting packages? Drop me a PM
01-26-2006 08:30 AM
Profile E-Mail PM Find Quote Report
harrisony
New Member
*


Posts: 10
Joined: Oct 2005
RE: two things
quote:
Firstly, if I have a php form is there a way so when a user clicks the button to submit it submits but you stay on the same page?
That would be via Javascript/AJAX (i think)
quote:
Firstly, if I have a php form is there a way so when a user clicks the button to submit it submits but you stay on the same page?

Secondly, I put a php code on one of my pages that writes text to a file called log.txt but it didn't work so one of my friends told me to change my permissions on public_html to 7-5-5. I have done all that but I don’t really understand how permissions work so can someone tell me.
Google is ur friend
http://catcode.com/teachmod/
01-26-2006 09:30 AM
Profile E-Mail PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: two things
quote:
Originally posted by harrisony
That would be via Javascript/AJAX (i think)
Actually php can do that too :)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
01-26-2006 09:40 AM
Profile E-Mail PM Web Find Quote Report
Dox
Junior Member
**


Posts: 34
34 / Male / –
Joined: Oct 2005
O.P. RE: two things
somone tell me how :)
[Image: phpuser.jpg]

[Image: elixant%20user.gif]
Want 35% off all Elixant hosting packages? Drop me a PM
01-26-2006 09:41 AM
Profile E-Mail PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: two things
You could set the target of the form to an iframe, so only the iframe would change.

Or maybe try using the "204 No Content" or "205 Reset Content" HTTP response codes...

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.5
01-26-2006 03:21 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On