Search found 67 matches

by bladecatcher
Sun Nov 06, 2005 4:05 am
Forum: PHP - Code
Topic: Keeping html files private
Replies: 3
Views: 529

Keeping html files private

G'day All, I'm using sessions to manage access to private content on our site. However, the "content" is in html files and included using what I call templates. A clever outsider could easily circumvent the session security by calling the page directly. How would you suggest I keep these p...
by bladecatcher
Sat Nov 05, 2005 11:25 pm
Forum: PHP - Code
Topic: capture fsockopen refusal
Replies: 2
Views: 480

look up the error control operator: http://php.net/language.operators.errorcontrol (@) just exactly what was needed. Some very useful links to general error handling off that page too, thanks. you may want to use getmxrr() first to get the mail server addresses ;) //---Find the address of the mail ...
by bladecatcher
Sat Nov 05, 2005 10:20 pm
Forum: PHP - Code
Topic: capture fsockopen refusal
Replies: 2
Views: 480

capture fsockopen refusal

G'day All, I'm using the following code to check email addresses. //---Connect to mail server and check e-mail address------------------ $Connect = fsockopen ( $ConnectAddress, 25 ); //Gives this error when domain exists but no mx: //Warning: fsockopen() [function.fsockopen]: unable to connect to mx...
by bladecatcher
Tue Aug 23, 2005 6:24 am
Forum: Javascript
Topic: frames do not display
Replies: 7
Views: 1161

G'day, The frameset should be in the the head not the body. The alternate to the frameset goes in the body i.e. "Your browser does not support frames, sorry mate". <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <!-- f...
by bladecatcher
Tue Aug 23, 2005 6:17 am
Forum: Javascript
Topic: iframe width in IE
Replies: 3
Views: 1129

[solved]

G'day All,
The problem was not with the iFrame but was in the style sheet.
A new simpler CSS and it works as expected. I presume FF is a little more accurate in interpreting CSS.

cheers,
bladecatcher
by bladecatcher
Tue Aug 23, 2005 2:50 am
Forum: Javascript
Topic: News Ticker or Scroller
Replies: 5
Views: 933

Try this,

http://www.lindsay.yardley.com.au/readnews.rar

You'll need to save it to disk.
by bladecatcher
Tue Aug 23, 2005 12:31 am
Forum: Javascript
Topic: "Submit button is an image" problems
Replies: 8
Views: 1212

Pilau

I take it your white guys? Shouldn't have used a white background for photo's ;-)

No images! (on "Band" page.

Using FF 1.06 in XP.

cheers
by bladecatcher
Mon Aug 22, 2005 10:56 pm
Forum: Javascript
Topic: Detecting when a frame is loaded without it's parent
Replies: 8
Views: 1832

I reckon it's pretty cool tooo :-)

now I'll have to work out the redirect ;-) (oh my brain hurts already)

Thanks guys
bladecatcher

btw, If your really paranoid might be an idea to generate a random code each time page is called.
by bladecatcher
Mon Aug 22, 2005 4:01 am
Forum: Javascript
Topic: iframe width in IE
Replies: 3
Views: 1129

G'day Sticksys,
Thank you for your reply.
An unexpected result :-0

http://www.shares.yardley.com.au/page.php?pid=forum

cheers
blade
by bladecatcher
Sun Aug 21, 2005 11:37 pm
Forum: Javascript
Topic: iframe width in IE
Replies: 3
Views: 1129

iframe width in IE

G'day Guys, I'm using an iframe to display data from links in a page. see this test page http://www.shares.yardley.com.au/page.php?pid=forum While the iframes display correctly in FireFox, the width is too wide in IE unless you minimise and maximise the window. Is this an error in my code? If not ca...
by bladecatcher
Wed Aug 17, 2005 7:34 pm
Forum: PHP - Code
Topic: error checking
Replies: 2
Views: 538

error checking

G'day guys,
Does anyone know of a good php error checking tutorial? I've done a google and found a few but they're mostly rather too short or one track in scope.

Any tips and suggestions appreciated too.

tia
bladecatcher
by bladecatcher
Wed Aug 17, 2005 7:28 pm
Forum: PHP - Code
Topic: recursive file search
Replies: 8
Views: 1247

Thank you feyd,
I can't believe I was soooo stupid to have not seen that. I fear age is not being kind to my brain cells.
warm regards,
bladecatcher
(well i was, but no longer it seems)
by bladecatcher
Tue Aug 16, 2005 7:07 am
Forum: PHP - Code
Topic: recursive file search
Replies: 8
Views: 1247

Thank you Jmut,
that works well, but I really would like to find out what is wrong with my code. I'll keep yours just incase.

Thanks again,
bladecatcher
by bladecatcher
Tue Aug 16, 2005 3:04 am
Forum: PHP - Code
Topic: recursive file search
Replies: 8
Views: 1247

Sorry, I've played a bit more but still coming to the same dead end. When you say "Yes" to "calling 'search' from with 'search' the 'return' is lost", how is it lost? and ... "it's a function that will escape all regular expression special characters" I don't think I ne...
by bladecatcher
Mon Aug 15, 2005 7:52 am
Forum: PHP - Code
Topic: recursive file search
Replies: 8
Views: 1247

Thank you for your reply. Apologies but I don't understand. When you say "the find isn't recorded when you recurse from within your function" Does that mean because I'm calling 'search' from with 'search' the 'return' is lost? "doesn't close the directory handle" hmmm, yes I see,...