Re: [PHP] pop-up windows

2002-06-30 Thread Justin French
on 29/06/02 2:53 AM, Kevin Stone ([EMAIL PROTECTED]) wrote: John I hate to critisize you since you are one of the most active members on this list. But are these types of comments really useful? -Kevin No, I'm with John on this one. I'd say I type no, JavaScript is client-side, and PHP is

Re: [PHP] Keeping Secrets in PHP Files

2002-06-30 Thread Justin French
on 29/06/02 3:20 AM, Tamas Arpad ([EMAIL PROTECTED]) wrote: I was thinking if you use 90 character long filenames, assuming you only use the letters of the alphabet and the digits then you would have 62^90 different filenames, which is roughly 2E161 (2 followed by 161 zeros), which is quite

Re: [PHP] supersession

2002-06-30 Thread Justin French
I think there is also a directive in php.ini to ALWAYS include a certain file at the top of each script, transparently. Perhaps you could dynamically write to this file as needed, or dynamically write to a MySQL table which is called/queried by this script. This may or may not help, depending

Re: [PHP] Yet another session problem, with a twist.

2002-06-30 Thread Justin French
PHPLib has session functions, and was essentially what people used before PHP4. It will of course require a fair bit of work to port your scripts across. Personally I'd change to another host :) Justin French on 29/06/02 2:17 PM, Cysec ([EMAIL PROTECTED]) wrote: I have already scripted a

[PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
Hi people, Just a question, I'm building components for a customer who wants some interactivity within his site, but still wants to build the site himself. One thing that would be interesting would be Session management. Now, if I just tell him to make all his own pages with .php ext instead

[PHP] Two cases going to same case?

2002-06-30 Thread Leif K-Brooks
I have a switch in a script I'm working on. I need to have case 1 and 2 both to to case 3, but without case 1 going through case 2. Is this possible? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Blank emails

2002-06-30 Thread César Aracena
Hi all. I know it’s Sunday morning and that I’m NOT getting many responses right now ;-) I connected to the net, opened my browser, pointed it towards an e-mail script I’ve installed this afternoon in my site (SquirrelMail) qnd got into the INBOX… once there, I opened my MS Outlook and

[PHP] ZIP combinaton in PHP?

2002-06-30 Thread Tony Harrison
I realise its a longshot but is it possible to use PHP (or any other web-based languages) to combine multiple ZIP files into a single ZIP file? and any scripts i can download to do it. Any help with this is most appreciated. ;-) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Two cases going to same case?

2002-06-30 Thread Steve Edberg
At 5:18 AM -0400 6/30/02, Leif K-Brooks wrote: I have a switch in a script I'm working on. I need to have case 1 and 2 both to to case 3, but without case 1 going through case 2. Is this possible? No, but you can do it this way: switch ($foo) { case 1: ... do_something();

[PHP] Re: Blank emails

2002-06-30 Thread Peter
Can you post the code on here? There must be some headers somewhere because the mail has been sent to you - to header. Have you clicked on the email in Outlook and looked at the headers / message source? César aracena [EMAIL PROTECTED] wrote in message

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Justin French
enable-trans-sid appends a session id to URLs, but it works in conjunction with php's session functions. Simply compiling with --enable-trans-sid or appending it to the URL yourself will not maintain session. using functions like session_start() and the registering of session variables

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
Hi Justin, Thx for the reply Justin French wrote: using functions like session_start() and the registering of session variables ($_SESSION['something'] = foo;) will establish/maintain a session. Yes, I understand. Sessions need to be started. But once they have started, do I need to

[PHP] bug in sessions

2002-06-30 Thread Michal Dvoracek
Hello, i discovered bug in sessions: when using unset($_SESSION[...]) insted session_unregister(...) and before calling read _$SESSION[...] variable WILL NOT unset. please try these examples and see result. here is method how to produce this bug (you must have cookies enabled): 1. run script

[PHP] include files or fopen

2002-06-30 Thread Lee
Hi, I am trying to write a program that is very modular in nature one of the features I need the user to be able to do is install/uninstall or enable/disable the module though the interface. I have though of 2 ways this could be done, either when the module is installed it adds additional

Re: [PHP] Two cases going to same case?

2002-06-30 Thread Tom Rogers
Hi One way to achieve the same effect: fallthru = 0; switch($whatever){ case 1: do something1; $fallthru = 1; case 2: if(!$fallthrough){ do something2; } case 3

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Justin French
on 30/06/02 9:04 PM, Tim Stoop ([EMAIL PROTECTED]) wrote: Yes, I understand. Sessions need to be started. But once they have started, do I need to re-affirm the session on every page, or will it hold for a few pages, until the session-variables will be used again ... Well, you really need to

Re: [PHP] Populate Popup Menu from Database

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 03:03, Mike Tuller wrote: To let everyone know, I did apologize to Mr. Wong. I misunderstood what he was trying to ask me. I took it as he was saying It's easy, what is your problem rather than What is your problem . Thanks. But no need to call me Mr though :) --

Re: [PHP] ZIP combinaton in PHP?

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 15:32, Tony Harrison wrote: I realise its a longshot but is it possible to use PHP (or any other web-based languages) to combine multiple ZIP files into a single ZIP file? and any scripts i can download to do it. Any help with this is most appreciated. ;-) If you have

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 19:04, Tim Stoop wrote: Hi Justin, Thx for the reply Justin French wrote: using functions like session_start() and the registering of session variables ($_SESSION['something'] = foo;) will establish/maintain a session. Yes, I understand. Sessions need to be

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
Hi Justin, Thx again for the answer. Justin French wrote: Well, you really need to check out a decent article/tutorial on sessions, Nah, I think I explain my question a little wierd and that's why you don't understand me... I've worked with sessions lots of times (although mostly in Java

Re: [PHP] change variable in file

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 03:09, Nookie wrote: Hi, I want to write function which change variable in ie. config.php file ... Here is code: ? include config.php; $file = fopen(config.php, w+); $content = fread($file, filesize(config.php)); $content = str_replace(\$option['test'] = \ .

[PHP] imageellipse not working with gdlib2.0

2002-06-30 Thread William S.
Maybe I am just doing it incorrectly but I am unable to get anything displayed with imageellipse in gdlib2.0. Can anyone give me a simple php script to test it with? I am using php with Sablotron. Thank you. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To

php-general Digest 30 Jun 2002 13:48:29 -0000 Issue 1436

2002-06-30 Thread php-general-digest-help
php-general Digest 30 Jun 2002 13:48:29 - Issue 1436 Topics (messages 104544 through 104572): Re: Usiing FOREACH to loop through Array 104544 by: Brad Melendy 104548 by: Steve Edberg 104550 by: Brad Melendy mcrypt 104545 by: charlesk Re: Getting IP from

RE: [PHP] bug in sessions

2002-06-30 Thread John Holmes
Same for me (PHP4.2.1 on Win). Unset removes the variable from the session for the duration of the script, but doesn't actually remove it from the session. Using session_unregister() does remove the variable from the session. You should post it as a bug, Michal, or tell them to change the

RE: [PHP] Getting IP from behind proxies

2002-06-30 Thread Bruce Karstedt
Why not create a cookie for that poll. When the vote check for the cookie. Unless a user clears the cookie himself, you basically limit votes to one per computer or one per computer per user. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474

Re: [PHP] Two cases going to same case?

2002-06-30 Thread Chris Shiflett
Leif K-Brooks wrote: I have a switch in a script I'm working on. I need to have case 1 and 2 both to to case 3, but without case 1 going through case 2. Is this possible? Does case 3 have to be in the switch? If not, just leave it to execute just after the end of the switch.

[PHP] Register Globals = off

2002-06-30 Thread PHPCoder
Hi Going through some literature, it seems like the use of registered globals can cause security issues. Now, the dilemma, all my previous PHP installations ( for the last year or so ) have come with register globals = on in the php.ini file by default, and users on my system has happily

RE: [PHP] Getting IP from behind proxies

2002-06-30 Thread Rasmus Lerdorf
It is rather trivial to turn off cookies. It's not a matter of clearing cookies, the user simply turns it off. Heck, many users browse with cookies turned off by default. -R On Sun, 30 Jun 2002, Bruce Karstedt wrote: Why not create a cookie for that poll. When the vote check for the cookie.

RE: [PHP] pop-up windows

2002-06-30 Thread Bruce Karstedt
Here ! Here ! Everyone's time is valuable, and therefore the more we all respect each other's time and opinions, the more valuable a resource this will become. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From:

[PHP] PEAR website down

2002-06-30 Thread Paul Reilly
The pear.php.net site seems to have a problem with no MySQL server running. I need to download PEAR in a hurry. Can someone get the site back up or tell me if I can get PEAR from somewhere else?? Thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Register Globals = off

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 23:12, PHPCoder wrote: Hi Going through some literature, it seems like the use of registered globals can cause security issues. Now, the dilemma, all my previous PHP installations ( for the last year or so ) have come with register globals = on in the php.ini file by

[PHP] XML Problem

2002-06-30 Thread Sebastian A.
Hello, I am having some problems parsing XML with PHP. Here is an example of my problem: Example 1: PAGE TAG1 SOME TEXT /TAG1 /PAGE When I try to use the expat XML functions I cannot parse TAG1 in the above example. I simply get nothing. However with the

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Justin French
on 30/06/02 11:33 PM, Tim Stoop ([EMAIL PROTECTED]) wrote: Ah yes, I forgot about that... I need to resume the session, of course. Would session.auto_start set to 1 work without these session_start()'s? I believe so... and Jason Wong has sent an email suggesting this. The thing is, I need

Re: [PHP] Register Globals = off

2002-06-30 Thread Justin French
You could leave the setting to ON in your php.ini, and impose OFF on a per-directory (account, domain, etc) basis with a .htaccess file (or vice-versa), assuming you have Apache. This will mean all new clients will have the setting to OFF, and will do things the right way from day 1. It will

RE: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread John Holmes
Tim, You might want to look into a good templating solution, too. You can make it so the customer can maintain all of the HTML and you maintain the PHP, and it's all kept separate. It's would be similar to what it looks like you are doing now. Instead of telling the client to put

[PHP] fopen(); deciding if going for the IP or domain.

2002-06-30 Thread php
Hello, Is there anyway I can do fopen to try to open a connection to a domain name, if it cant try opening it to the IP? For some weird reason today a domain name wont resolve and Iam getting this error: Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known

[PHP] Re: Two cases going to same case?

2002-06-30 Thread Anil Kumar K.
Can't you write it this way? switch( $bar) { case 2: ... case 1: ... case 3: ... } On Sun, 30 Jun 2002, Leif K-Brooks wrote: I have a switch in a script I'm working on. I need to have case 1 and 2 both to to case 3, but without case 1 going through case 2. Is

RE: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
Thanks for the help guys. The one-line include is definitly a very good idea, which I'll use. Templating is very interesting, although, only if it works exactly as you say, with HTML-like tags. I looked at Smart, patTemplate en some others, but they all use {} or [] style tags. In that case,

Re: [PHP] fopen(); deciding if going for the IP or domain.

2002-06-30 Thread Chris Hewitt
The manual shows fopen(http://www.php.net/,r;) works. If you are saying it is only today that it is not working then I wonder if the server (or dns server for it) is down. If on unix, does dig domain.com give an ANSWER section with ip address? If on NT, does nslookup domain.com give an ip

Re: [PHP] Gradients in PHP GD

2002-06-30 Thread Joshua Alexander
Well, I'm deeply moved by your concern - I don't think I was either hostile or impatient however - I was just stating the obvious and implying a question (why isn't it straightforward). That was my problem with your post--why imply the question, and leave it open to interpretation? Why not

Re: [PHP] XML Problem

2002-06-30 Thread Analysis Solutions
On Sun, Jun 30, 2002 at 05:58:59PM +0200, Sebastian A. wrote: I am having some problems parsing XML with PHP. Here is an example of my problem: The answer hasn't changed since the last time we had this same discussion back in early May. Search groups.google.com for message id

Re: [PHP] PHP with online cedit card processing

2002-06-30 Thread Steve Yates
names of companies that charge a reasonable rate, that you can use you own shopping cart and work well with PHP My company's site uses Innuity as a gateway with PHP pages. You can do whatever you want to get the totals, then POST the charge to their secure server which can return all

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Steve Yates
Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 1. Name all included files .inc If you name them *.php then put anything in them inside a function, then when the user browses to that file he/she won't see anything at all. - Steve Yates - A

RE: [PHP] pop-up windows

2002-06-30 Thread SP
Perhaps we could agree on a standard response when someone asks about doing javascript in php. Then when someone asks that question, the first one to send out that canned response wins 1 php credit. John and Jason would be php millionaires by the year out I think. -Original Message-

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Chris Shiflett
Steve Yates wrote: Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 1. Name all included files .inc If you name them *.php then put anything in them inside a function, then when the user browses to that file he/she won't see anything at all.

RE: [PHP] Re: Blank emails

2002-06-30 Thread César Aracena
This is one of the mails headers: /dev/cdrom595M 596M 0 100% /mnt/cdrom bash-2.05$ rpm -q redhat-release redhat-release-7.2-1 X-UIDL: =aK!16!7o9!jCB!! ** And this is it's content: System: Linux angel 2.4.7-10 #1

RE: [PHP] XML Problem

2002-06-30 Thread Sebastian A.
You were right, I found the following: # Declare the function that runs each time # character data is encountered. function CharacterHandler($Parser, $Line) { global $CData; # Place lines into an array because elements # can contain more than one line of data. $CData[] =

RE: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread César Aracena
Well Tim, I don't have much time working with PHP, but I did study the template format made by Ying Zhang. I found it when searching for a shopping cart - PHP made - script. If you want to look at it, search hotscripts for mymarket. To give you an idea, I make just one page with session_start()

Re: [PHP] Getting IP from behind proxies

2002-06-30 Thread Peter
why not assign your user a unique id when they first visit you site and this is registered in a database. The unique id is then passed from page to page in the URL (i.e. get method) when they submit their vote, the PHP page: 1: check to see if that Unique ID is stored in the database (checks it

[PHP] Finding all instances

2002-06-30 Thread mikeyb
Hi, I have a little problem I am trying to solve but right now I have no idea where to begin. I am preying that someone out there might be able to help me. In my MySQL database I have a group of figures, one for each record. Through PHP I have concluded at a 'magical' number which I will

[PHP] [more info] Finding all instances

2002-06-30 Thread mikeyb
Hi, I have a little problem I am trying to solve but right now I have no idea where to begin. I am preying that someone out there might be able to help me. In my MySQL database I have a group of figures, one for each record. Through PHP I have concluded at a 'magical' number which I will need

RE: [PHP] include files or fopen

2002-06-30 Thread David Freeman
I am trying to write a program that is very modular in nature one of the features I need the user to be able to do is install/uninstall or enable/disable the module though the interface. I have, in the past, stored such information in a database. In projects that have need of such

[PHP] Globals bug??

2002-06-30 Thread troy
We are seeing a rare bug that seems to imply that there is a bug in PHP's global variables across httpd processes. To make a long story short, it appears that on rare occassions our script gets the value of a HTTP_GET_VARS variable from another user's process. Is this possible? BTW, it seems to

Re: [PHP] Globals bug??

2002-06-30 Thread Rasmus Lerdorf
I don't see how. But if what you are saying is actually happening, then it is a Linux kernel-level bug if memory is leaking from one process to another. No matter how badly we screwed up in PHP, the kernel prevents such a screwup from infecting a separate process. I'd suggest having a close

Re: [PHP] [more info] Finding all instances

2002-06-30 Thread Andrew Brampton
Well I'm not good enough at SQL to do this, but how about you get PHP to figure out all the combinations, ie 1, 3, 5, 2, 6, 52, 32, 321, 51, 61, 21, 31 Then do a set of SELECT * FROM table WHERE number=1 SELECT * FROM table WHERE number=3 SELECT * FROM table WHERE number=3 OR number=1 Then

Re: [PHP] Gradients in PHP GD

2002-06-30 Thread Bogdan Stancescu
The only question I could possibly have asked to leave it open enough to all the possibilities was basically the one I asked. That's because possible reasons for not writing his own function may have been: - he wanted a very basic gradient, but he was such a newbie in PHP that he didn't know

Re: [PHP] More on removing item from cart

2002-06-30 Thread Analysis Solutions
Hi Vicki: I'm not going to cover everything in the email. BUT, the essence of the solution is right here. I made a little test script based on the values you said were in the cart array at the top of the page and the variables contained in the form... #! /usr/local/bin/php -q ?php

Re: [PHP] Gradients in PHP GD

2002-06-30 Thread Joshua Alexander
By this point, I am trying to speak generally. Not trying to pick on Bogdan specifically, since communication can always be improved. Please tell me what would be a question which would leave all these answer opportunities open while also being brief and obviously not being hostile? Hmm...

RE: [PHP] Gradients in PHP GD

2002-06-30 Thread Lazor, Ed
You guys are over-complicating this. If you want to help someone and don't understand their question, just say so. People asking for help are usually more than happy to provide additional information or rephrase their question. Be careful when using the question, Are you new to PHP?. It has

[PHP] How to put these 2 IF statements into 1, with regex?

2002-06-30 Thread php
Hi People, I was wondering if there is anyway to combine these two IF statements into one: if (preg_match(siteUserList.cgi?group=site177, $QUERY_STRING)) and: if (preg_match(siteUserList.cgi?group=site177, $QUERY_STRING)) In other words I need it to match if the query string HAS or DOESNT

RE: [PHP] How to put these 2 IF statements into 1, with regex?

2002-06-30 Thread Martin Towell
try this if (preg_match(@siteUserList.cgi?group=site177?@, $QUERY_STRING)) (I added a ? after get ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 11:29 AM To: [EMAIL PROTECTED] Subject: [PHP] How to put these 2 IF statements into 1,

[PHP] Re: How to put these 2 IF statements into 1, with regex?

2002-06-30 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I was wondering if there is anyway to combine these two IF statements into one: if (preg_match(@siteUserList.cgi?group=site177@, $QUERY_STRING)) and: if (preg_match(@siteUserList.cgi?group=site177@, $QUERY_STRING)) Remember

php-general Digest 1 Jul 2002 02:16:39 -0000 Issue 1437

2002-06-30 Thread php-general-digest-help
php-general Digest 1 Jul 2002 02:16:39 - Issue 1437 Topics (messages 104573 through 104611): Re: bug in sessions 104573 by: John Holmes Re: Getting IP from behind proxies 104574 by: Bruce Karstedt 104577 by: Rasmus Lerdorf 104598 by: Peter Re: Two cases

[PHP] checking date is not greater than today

2002-06-30 Thread Timothy J. Luoma
I am trying to compare a given date string (i.e. June 30, 2002 is 20020630). I want to make sure that the input string that is given is not greater than today (i.e. if today is June 30, and you ask for 20020701, I want to be able to throw an error). I'm a newbie, so I'm not sure the best way

[PHP] emulating enable_trans_sid

2002-06-30 Thread Justin French
Hi, As discussed a few months back, I'm interested attempting to recreate PHP's enable_trans_sid feature, for users without cookies. ONLY if cookies are UNavailable, I want to open the output buffer, build the page, then run a reg exp or something over the output to append SIDs to all URLs

Re: [PHP] emulating enable_trans_sid

2002-06-30 Thread Tom Rogers
Hi enable_trans_sid does exactly what you are trying to re create, if no cookies are available it modifies all the urls automatically. and transparently Tom At 12:48 PM 1/07/2002 +1000, Justin French wrote: Hi, As discussed a few months back, I'm interested attempting to recreate PHP's

[PHP] Printing

2002-06-30 Thread Chris Kay
Is there a way to bypass the print popup window within linux? I wish to run a print job of 200 or so invoices and don't want the promp for every page I print.. Is any one able to point me in the right direction.. Thanks in advance..

Re: [PHP] Fast code to partially flatten an array based on several keys?

2002-06-30 Thread Morgan Grubb
Martin, I said I'd let you know how I got on. It's all working, but only realistically for no more than 500 or so records. When I feed it 1+ records, the machine chokes. So I'm back to textbooks just looking for clues on really fast sorting and searching algorithms. I've written a mostly

Re: [PHP] Printing

2002-06-30 Thread Jason Wong
On Monday 01 July 2002 11:16, Chris Kay wrote: Is there a way to bypass the print popup window within linux? That's a function of whatever browser you're using! -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet

RE: [PHP] Fast code to partially flatten an array based on several keys?

2002-06-30 Thread Martin Towell
Sorting - are you sorting the array keys or the values ? If you're sorting the keys, maybe it would be better to have another array that holds a list of keys, sort that, and then use that as a pointer to the actual array. If you're sorting the values, then php has a good sort function (uses the

RE: [PHP] checking date is not greater than today

2002-06-30 Thread John Holmes
manual. ---John Holmes... -Original Message- From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 10:31 PM To: PHP Mailing List Subject: [PHP] checking date is not greater than today I am trying to compare a given date string (i.e. June 30, 2002 is 20020630

Re: [PHP] emulating enable_trans_sid

2002-06-30 Thread Justin French
I'm aware of this. What I'm trying to do is emulate this process on servers which have not compiled with --enable_trans_sid. I thought that was pretty clear, but perhaps not. In the ideal world, enable_trans_sid would have been compiled, but I'm yet to find many shared hosts where this has

Re: [PHP] checking date is not greater than today

2002-06-30 Thread Timothy J. Luoma
On Sun, 30 Jun 2002, John Holmes wrote: $today = date(Ymd); if($input_date $today) { echo Date must be before today!; } *thwaps self* DUH! Thanks... been staring at this for too long. It looks like you're dealing with MySQL dates. There are a ton of useful functions you can use in

Re: [PHP] XML Problem

2002-06-30 Thread Analysis Solutions
Sire: On Sun, Jun 30, 2002 at 10:21:40PM +0200, Sebastian A. wrote: Later on, you make the $Cdata a string, $temp, and then the next time you use it: $Temp = $Data['TRADE-DATETIME'] You re-assign it again without using the data. Did I miss something? Yes. Further down was the default case,

[PHP] PHP with CSS

2002-06-30 Thread Bruce Karstedt
Quick question? Is their anything in Apache or PHP that would keep styles from working. Both external (CSS) and inline styles are ignored. Environment : Win XP Pro Apache 2.0.39 PHP 4.2.1 Writing Debugging on Homesite 4.0.1 Bruce Karstedt President Technology Consulting Associates, Ltd.

RE: [PHP] PHP with CSS

2002-06-30 Thread Martin Towell
if in-line styles aren't working (and you can see them when you do a view source) then it's nothing to do with apache. (unless there's a header() command I don't know about that stops them from working...) Martin -Original Message- From: Bruce Karstedt [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] PHP with CSS

2002-06-30 Thread Peter
Bruce... there is nothing stopping it from working unless they are turned off in the browser's settings... just be mindful that CSS works slightly differently in netscape to ie.. -Original Message- From: Bruce Karstedt [mailto:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 2:32 PM

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Steve Yates
Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Steve Yates wrote: If you name them *.php then put anything in them inside a function, then when the user browses to that file he/she won't see anything at all. I think this is a very poor tactic,

Re: [PHP] checking date is not greater than today

2002-06-30 Thread Peter J. Schoenster
On 30 Jun 2002 at 22:31, Timothy J. Luoma wrote: I am trying to compare a given date string (i.e. June 30, 2002 is 20020630). I want to make sure that the input string that is given is not greater than today (i.e. if today is June 30, and you ask for 20020701, I want to be able to throw

[PHP] Re: checking date is not greater than today

2002-06-30 Thread Timothy J. Luoma
On Mon, 1 Jul 2002, Peter J. Schoenster wrote: On 30 Jun 2002 at 22:31, Timothy J. Luoma wrote: I am trying to compare a given date string (i.e. June 30, 2002 is 20020630). I want to make sure that the input string that is given is not greater than today (i.e. if today is June 30

RE: [PHP] PHP with CSS

2002-06-30 Thread Bruce Karstedt
Checking view source was the first thing I thought of. The inline code appears OK, style sheets, I only see the link of course. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From: Martin Towell [mailto:[EMAIL

Re: [PHP] emulating enable_trans_sid

2002-06-30 Thread Tom Rogers
Hi Ok probably the easiest is just to add ?if(!empty(SID) echo 'sid='.SID? to the end of each url, if cookies are supported SID will be an empty string. Tom At 01:59 PM 1/07/2002 +1000, you wrote: I'm aware of this. What I'm trying to do is emulate this process on servers which have not

RE: [PHP] PHP with CSS

2002-06-30 Thread Martin Towell
1. when you say the link, you're talking about the link tag right? if so, are you sure your syntax is correct - this tag is something I keep stuffing up (using src instead of href, forgetting rel=stylesheet [is this required?], setting type=text/stylesheet instead of

[PHP] Re: PHP with CSS

2002-06-30 Thread CC Zona
In article 001101c220b8$5338fc30$768c3841@c3, [EMAIL PROTECTED] (Bruce Karstedt) wrote: Quick question? Is their anything in Apache or PHP that would keep styles from working. Both external (CSS) and inline styles are ignored. If it was the only the external stylesheet that wasn't

Re: [PHP] emulating enable_trans_sid

2002-06-30 Thread Justin French
on 01/07/02 3:36 PM, Tom Rogers ([EMAIL PROTECTED]) wrote: Ok probably the easiest is just to add ?if(!empty(SID) echo 'sid='.SID? to the end of each url, if cookies are supported SID will be an empty string. I want to avoid this, because it adds a level of complexity to the construction of

RE: [PHP] emulating enable_trans_sid

2002-06-30 Thread Martin Towell
Justin It's quite possible that the end solution will require a decent HTML parser or state engine. Fun fun :) Do you have any JS that will have to be altered because of what you're trying to do. 'Cause if you have to write an HTML parser, you'd prob have to write a JS parser too :) More fun