Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: 1 [2]   Go Down
Print
Author Topic: Link Problem  (Read 693 times)
0 Members and 1 Guest are viewing this topic.
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #15 on: June 26, 2004, 03:39:00 AM »

You will definitely NOT be able to do the same thing with the administration pages as they set cookies which are required for that script's functioning. The way you're attempting to process the script using PHP will prevent those cookies from being produced altogether.

I don't know about your other question, sorry.

Dan O.

------------------

Logged
USDefcon1
Guest
« Reply #16 on: June 26, 2004, 07:47:00 PM »

I could just load up an outbut buffer for the cookies to work, that no problem. Just trying to figureo out how to get all the links changed for the admin side is the problem now. Ok thanks for your help.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #17 on: June 26, 2004, 09:22:00 PM »

** I could just load up an outbut buffer for the cookies to work **

I'm afraid I have no idea what that means.

You would not be able to just "include()" calendar script into your PHP file and still get its cookies. You would need to use a method which captured the headers send by CalendarScript as that is how cookies are set. Those cookies also have to be passed back to CalendarScript for it to read before retrieving the script's output.

That may be possible to do using cURL (if compiled into your server's version of PHP), but going about it would be a lot more work then what you've been able to accomplish so far.

Dan O.

------------------

Logged
USDefcon1
Guest
« Reply #18 on: June 28, 2004, 06:17:00 PM »

Output buffering is when you delay the servers output of headers until you tell php to send them.  
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #19 on: June 28, 2004, 09:23:00 PM »

** Output buffering is when you delay the servers output of headers until you tell php to send them. **

That's interesting but have you tried it?

My limited tests seem to indicate that the headers of the called file are not retrieved by PHP when using include(), require() or even readfile(). So the headers from the administration script which set the cookies that are needed for it to work are still are not available in the PHP script.

** Just trying to figureo out how to get all the links changed for the admin side is the problem now. **

BTW. The URLs for the administration forms look to be pointed to the right place. Just look at the URL in the browser after submitting the form.

JFYI

Dan O.


[This message has been edited by DanO (edited June 28, 2004).]

Logged
Pages: 1 [2]   Go Up
Print
Jump to: