Forums

PHP

This topic is locked

Restrict Access To Page - What have I done wrong ?

Posted 03 Jun 2003 15:53:52
1
has voted
03 Jun 2003 15:53:52 Nicky Nelson posted:
Hi guys - useless non-programmer here again. I entered the Restrict Access To Page Server Behaviour on a page, and when I tested it by trying to cut and paste the URL it worked perfectly. However, now it doesnt!!!!!! I am using DW MX and my Web Host's MySQL. Does anyone have any ideas as to how this can happen?

Thanks

Replies

Replied 04 Jun 2003 09:37:20
04 Jun 2003 09:37:20 Julio Taylor replied:
What have you done differently? How do you know it doesn't work? What is it doing wrong compared to before?

------------------------
Julio

PHP | MySQL | DWMX

ICQ: 19735247
MSN:
Replied 04 Jun 2003 14:34:34
04 Jun 2003 14:34:34 Nicky Nelson replied:
Thanks for answering. The truth is, I don't know what I did. All I know is that I checked the logins and checked to make sure I couldn't just cut & paste the URL of the page I wanted to restrict access to, and it worked. I did this twice because I wanted to send it to two business associates, so I wanted to make sure it was right. I then got an e-mail off one of them to say it wasn't working! My host tells me that they don't support some of the Dreamweaver Extensions, so unless they blocked something, I don't know.

Anyway, I have now adapted some of the UMA script, but the trouble is most of it is in Spanish so I have been trying to translate!!! I have managed to get it back up and running, but there is still an error. One of my functions is causing an error which says

supplied argument is not a valid MySQL result resource

So I am still working on it! Still, at least my Spanish is improving!

Replied 04 Jun 2003 14:39:11
04 Jun 2003 14:39:11 Nicky Nelson replied:
Now I have a new Warning:

Warning: Cannot send session cookie - headers already sent by (output started at /mnt/web_a/d35/s27/a000nq77/www/login/ExcelTest.php:3) in /mnt/web_a/d35/s27/a000nq77/www/login/ExcelTest.php on line 33


Can you tell me what this means?
Replied 04 Jun 2003 14:43:51
04 Jun 2003 14:43:51 Nicky Nelson replied:
I have found out what was causing the problem, and taken that particular code out, but I would still be interested in knowing more about it. It is all working nicely now! Yeeeeeeeeaaaaah!
Replied 17 Jun 2003 13:44:26
17 Jun 2003 13:44:26 Saeed Abdi replied:
I'm having the same problem I would very much like to know what you did to get it to work
Replied 18 Jun 2003 22:23:20
18 Jun 2003 22:23:20 Nicky Nelson replied:
xlarge - in the end I had to use a tutorial in another site:

www.sitepoint.com/article/319

Hope you solve it!

Reply to this topic