[PHP] Re: Lack of info

2003-09-01 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > IM not ranting, IM pointing out that I have looked on the website and the > FAQ is a joke and help from other sources is either buy something or as the > case of IRC, no channel of that description was turned up in the search. Somewher

Re: [PHP] web-mail problem

2003-09-01 Thread Raditha Dissanayake
Hello, Your message does not contain enough information for us to help you. Guessing in the dark i can tell you that you are not using the correct encodings for your message. It's not really a good idea to use the mail() function for html mail, there are plenty of mail classes out there that ca

Re: [PHP] Re: session-problem

2003-09-01 Thread Juerg Zgraggen
:-) cool thank you! is any "$_"-variable superglobal? $_REQUEST, $_POST, ...? cheers, jazper "Curt Zirzow" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > * Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]): > > Probably i got the problem... but i don't know how to solve it!!!

AW: [PHP] php 5 - mysql replication

2003-09-01 Thread Moritz Steiner
If php knows about replication, it can balance the select querys on the different servers... -Ursprüngliche Nachricht- Von: Curt Zirzow [mailto:[EMAIL PROTECTED] Gesendet: Montag, 1. September 2003 19:30 An: [EMAIL PROTECTED] Betreff: Re: [PHP] php 5 - mysql replication * Thus wrote

Re: [PHP] Can't Make Directories Now

2003-09-01 Thread Seth Willits
print $buildingPath . ''; if (opendir($buildingPath) == false) if (!mkdir($buildingPath)) print 'false '; A print("false $buildingPath") might yield as to why it isn't creating it. I already di

Re: [PHP] Can't Make Directories Now

2003-09-01 Thread Seth Willits
On Monday, September 1, 2003, at 03:41 PM, Curt Zirzow wrote: print $buildingPath . ''; if (opendir($buildingPath) == false) if (!mkdir($buildingPath)) print 'false '; A print("false $buildin

Re: [PHP] randomly select a table, better way?

2003-09-01 Thread Jason Wong
On Tuesday 02 September 2003 08:17, Daniel Bray wrote: > So then the total code would be: > >$mysqlconnect = mysql_connect("localhost", "mysqladmin", > "i.hate.microsoft"); $result = mysql_list_tables("Bookmarks"); > > $n = mysql_num_rows($result); > $seek = mt_rand(0, $n-1); >

[PHP] Re: Copy database from MySQL to MSAccess

2003-09-01 Thread Leonie
Hi Kjell I'm not sure whether you are transferring from within the webserver, or from the webserver to MS locally, but either way I'd set up the MS database locally. Just install the MySQL ODBC driver (I think its at the mysql.com website) and link all the MySQL tables to your MS Access database

[PHP] web-mail problem

2003-09-01 Thread Lingua2001
Hi all, I am trying to solve a problem related to mail( ). I am not sure whether it is from SMTP directly or html tags used for html form mail. I got the following message, and has anyone seen this before? * This email is being returned to y

Re: [PHP] Re: session-problem

2003-09-01 Thread Curt Zirzow
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]): > Probably i got the problem... but i don't know how to solve it!!! > > i include one of my class. > in the constructor of this class i did a global... > global $_SESSION; > > as soon as i delete that line. my script works perfect... > > is this n

Re: [PHP] session-problem

2003-09-01 Thread Curt Zirzow
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]): > now my problem: i wrote in my navigation-frame this code: > if( !isset($_SESSION['testint'] ) ) >{ >$_SESSION['testint'] = 1; >} > $_SESSION['testint']++; > print_r($_SESSION); > ?> > > after the print_r() i can see my

[PHP] Re: session-problem

2003-09-01 Thread Juerg Zgraggen
Probably i got the problem... but i don't know how to solve it!!! i include one of my class. in the constructor of this class i did a global... global $_SESSION; as soon as i delete that line. my script works perfect... is this not allowed anymore... to access $_SESSION in a constructor?? regar

Re: [PHP] randomly select a table, better way?

2003-09-01 Thread Curt Zirzow
* Thus wrote Daniel Bray ([EMAIL PROTECTED]): > Ok, I have looked through the archives on both MySQL and PHP's lists, but > I have not seen this asked or mentioned. Weird, I thought this would be a > common thing. Is there a better way to randomly select a table from a > database, than what I hav

[PHP] session-problem

2003-09-01 Thread Juerg Zgraggen
hi got a big session-problem and i have no idea what i'm doing wrong... i have quite a big web-app and i tried to upgrade the code. ex: $frm_id to$_POST['frm_id'] and$HTTP_SESSION_VAR['myId'] to $_SESSION['myId'] ... ect... i changed the register_globals = Off in the php.ini

Re: [PHP] Can't Make Directories Now

2003-09-01 Thread Curt Zirzow
* Thus wrote Seth Willits ([EMAIL PROTECTED]): >$path = "path/path2/path3/path4/path5"; > $buildingPath = "existingFolder"; > $pathComponents = split("/", $path); > > > foreach ($pathComponents as $value) { > $buildingPath = $buildingPath . "/" . $val

[PHP] randomly select a table, better way?

2003-09-01 Thread Daniel Bray
Ok, I have looked through the archives on both MySQL and PHP's lists, but I have not seen this asked or mentioned. Weird, I thought this would be a common thing. Is there a better way to randomly select a table from a database, than what I have come up with: Here is a random table: " . $table_a

[PHP] Re: parent classes

2003-09-01 Thread Cristiano Duarte
Ok. But if I have an instance... Is there a way to find all its class parents ? Cristiano "Catalin Trifu" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hi, > > If I'm not mistaking here, you can not find the parent(s) > of a class without an instance and it is qui

[PHP] Can't Make Directories Now

2003-09-01 Thread Seth Willits
I figured out the permissions issue to allow gd to create image files, but I also need to create folders for those images. I've come up with a routine (below) but it fails to create the directories. I've made sure that the directory that the first directory is created in has the appropriate

[PHP] MySQL Left Join Question

2003-09-01 Thread Van Andel, Robbert
This may not be the best place to ask this question, but I'm running into a problem when I perform a left join sql statement in PHP. The sql statement is as follows: SELECT p.id pid,p.designID,p.project_name,p.node,p.received,p.lots,p.ugfootage,p.aerialf ootage,p.node,c.* FROM projects as p LEFT

[PHP] Re: Tracking Bandwidth usage....

2003-09-01 Thread Desi
Hello, Try webalizer... You must setup custom log format in httpd.conf to log virtual hosts and properly configure webalizer. Regards Desi Petrovic Mediate s.r.o. system administrator Binay Agarwal wrote: Hi All, I need to track the bandwidth usage of the different sites hosted on a server. Ho

[PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Adam Bishop
Thanks for all your help, but I ma still no closer to finding the problem. I'll try decomiling the whole application, and rewriting it, see it that works. If anyone has a brainwave in the meantime, any further help would be greatly appreciated. Thanks, Adam Bishop P.S. I have replaced the break

[PHP] Re: can someone explain...

2003-09-01 Thread Catalin Trifu
Hi, http://de.php.net/manual/en/language.references.php Cheers, Catalin "Jswalter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > this difference bewteen A and B below? > > A)$a = &new className(true, 6); > > B)$a = new className(true, 6); /* missing & on the N

[PHP] can someone explain...

2003-09-01 Thread jsWalter
this difference bewteen A and B below? A)$a = &new className(true, 6); B)$a = new className(true, 6); /* missing & on the NEW */ thanks walter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Linux support and security services

2003-09-01 Thread Desi
I offer Linux support and security services for your systems. I provide support for installation and configuration of dedicated webservers, remote administration and System services on Linux platforms, including: - remote Server maintenance - Network/system security - Secure chrooted Apache - Tu

Re: [PHP] Can't Connect Within Function?!

2003-09-01 Thread Dan Anderson
add this in the 1st line of the body of the function: global $shs_MySQLServer; global $shs_MySQLUser; global $shs_MySQLPassword; On Mon, 2003-09-01 at 14:20, Seth Willits wrote: > If I try to connect to a database within a function, I get the > following error. Why is this? > > > MySQL Connec

Re: [PHP] Write RegExp-Vars in a function

2003-09-01 Thread Curt Zirzow
* Thus wrote Niels Uhlendorf ([EMAIL PROTECTED]): > Hi, > > Although this seemed to be an easy prob I couldn't solve it in all the > time. > > I have a function and a string i want to be replaced. I use preg_replace > and get a var out. Now I want this var in the function but I don't know > ho

Re: [PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Chris Sherwood
If this is causing all forms to need to be submitted twice, I would be suspect of the include files that were found in all the forms documents and start my debugging process from there. just cursory glance tells me I would like to see the include files. before I could say that it was one thing or

Re: [PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Curt Zirzow
312 lines is a lot of stuff to filter through, you should really isolate your problem. * Thus wrote Adam Bishop ([EMAIL PROTECTED]): > Sample 'A' > > switch (@$do) > { > case "process": You should indent, it makes the code more readable. > session_start(); > session_register('Sauth'); > ses

[PHP] Write RegExp-Vars in a function

2003-09-01 Thread Niels Uhlendorf
Hi, Although this seemed to be an easy prob I couldn't solve it in all the time. I have a function and a string i want to be replaced. I use preg_replace and get a var out. Now I want this var in the function but I don't know how I can get it in: preg_replace("#\[\+\+(.*)\+\+\]#Uis",my_functi

Re: [PHP] Can't Connect Within Function?!

2003-09-01 Thread Seth Willits
On Monday, September 1, 2003, at 11:33 AM, Mike Morton wrote: You need to read up on the scope of variables within functions. Ohh, I didn't even think of that. Thanks. Seth Willits --- President and Head Developer of Freak

Re: [PHP] Can't Connect Within Function?!

2003-09-01 Thread Mike Morton
You need to read up on the scope of variables within functions. You should have something like: function getUserPermissions($shs_MySQLServer,$shsMySQLUser,$shs_MySQLPassword) { if ($_SESSION['permissions'] == '') { // Connecting, selecting database $link = mysql_connect($shs_MySQLServer, $shs

Re: [PHP] Can't Connect Within Function?!

2003-09-01 Thread Curt Zirzow
* Thus wrote Seth Willits ([EMAIL PROTECTED]): > If I try to connect to a database within a function, I get the > following error. Why is this? > > > MySQL Connect Error : Can't connect to local MySQL server through > socket '/Private/tmp/mysql.sock' (2) > > function getUserPermissions() { >

Re: [PHP] Display one element at a time

2003-09-01 Thread Seth Willits
On Monday, September 1, 2003, at 10:32 AM, Mike Capps wrote: Nothing seems to work. I have try every thing. At least all of the obvious like pos(array) or $element = current($array) . What I am trying to do : Is to ask questions (the problem I am having, display only one at a time) get answ

[PHP] Can't Connect Within Function?!

2003-09-01 Thread Seth Willits
If I try to connect to a database within a function, I get the following error. Why is this? MySQL Connect Error : Can't connect to local MySQL server through socket '/Private/tmp/mysql.sock' (2) function getUserPermissions() { if ($_SESSION['permissions'] == '') { // Connecting, selecting

[PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Adam Bishop
Okay, this is a tricky one (i think so, anyway!), and rather long but plase help me! I don't expect you to spend hours looking at the problem, but any insight is appreciated. I am (trying) to create a members only website. However, I am having a spot of bother. It all works perfectly

[PHP] Display one element at a time

2003-09-01 Thread Mike Capps
Nothing seems to work. I have try every thing. At least all of the obvious like pos(array) or $element = current($array) . What I am trying to do : Is to ask questions (the problem I am having, display only one at a time) get answer by using a check box move and display next question (part of th

Re: [PHP] php 5 - mysql replication

2003-09-01 Thread Curt Zirzow
* Thus wrote Moritz Steiner ([EMAIL PROTECTED]): > I've heard that php 5 is going to support mysql replication, has anyone > more details about it, it is already working in the beta release? Can you enlighten me as to what special things php needs to do replication? Curt -- "I used to think I wa

Re: [PHP] backtick : maximum output size?

2003-09-01 Thread Curt Zirzow
* Thus wrote Mark Walker ([EMAIL PROTECTED]): > Hi > > I'm using backticks to run a program (actually isoinfo), and then present > the information to the users of my site. > > Everything is fine *most* of the time. I have one .iso file whose contents > end up as around a 9Meg file to be presente

Re: [PHP] gif support not in GD 2.01?

2003-09-01 Thread Curt Zirzow
* Thus wrote Merlin ([EMAIL PROTECTED]): > Hi there, Hello merlin. > > I have included a imagecreatefromgif() into my code which runns pretty > fine on my testsystem 4.3.3 > > Now I uploaded it to the live system where an older version is running > and is build with GD2.0.1. This is causing an

[PHP] Re: session.cookie_domain

2003-09-01 Thread Tom Percival
Diana I'm pretty sure that if you use: ini_set("session.cookie_domain","interhotel.com"); (i.e. no dot before the domain) then that should work tommy "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I am using > ini_set("session.cookie_domain",".interhotel.com"

[PHP] php 5 - mysql replication

2003-09-01 Thread Moritz Steiner
I've heard that php 5 is going to support mysql replication, has anyone more details about it, it is already working in the beta release? Moritz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookie crumbles

2003-09-01 Thread John W. Holmes
John Taylor-Johnston wrote: $StudentId = "weather.htm9995"; if (!isset($_COOKIE["weather.htm$StudentId"])) if(!isset($_COOKIE[$StudentID])) { echo "Cookie not found, not reading weather.htm$StudentId"; echo "\$_COOKIE[\"weather.htm$StudentId\"]". $_COOKIE["weather.htm$StudentId"]."-"; }else{

[PHP] session.cookie_domain

2003-09-01 Thread Diana Castillo
I am using ini_set("session.cookie_domain",".interhotel.com"); so that session variables wont get lost between a domain called www.interhotel.com and res.interhotel.com but they still get lost ! does this function work perfectly, or am I doign something wrong? -- PHP General Mailing List (http

[PHP] backtick : maximum output size?

2003-09-01 Thread Mark Walker
Hi I'm using backticks to run a program (actually isoinfo), and then present the information to the users of my site. Everything is fine *most* of the time. I have one .iso file whose contents end up as around a 9Meg file to be presented to the user. PHP just segfaults. No error, nothing, the

Re: [PHP] reinstalling php with imap

2003-09-01 Thread Raditha Dissanayake
You will need the header files as well. I belive you are using the washignton uni. imap system. why don't you download a new tarball? all the best Merlin wrote: oh... thanx. There is a c-client.a on the system. Is it possible just to add '--with-lmap=/home/sw/c-client.a' and it will work? Me

Re: [PHP] reinstalling php with imap

2003-09-01 Thread Merlin
oh... thanx. There is a c-client.a on the system. Is it possible just to add '--with-lmap=/home/sw/c-client.a' and it will work? Merlin Raditha Dissanayake wrote: There are two magical commands on linux called 'locate' and 'find' :-) if you have locate just type locate c-client or some filen

Re: [PHP] reinstalling php with imap

2003-09-01 Thread Raditha Dissanayake
There are two magical commands on linux called 'locate' and 'find' :-) if you have locate just type locate c-client or some filename associated with the imap lib. find is more complicated you could try something like find / -name 'c-client*' | more the above will search your whole hard disk so

[PHP] gif support not in GD 2.01?

2003-09-01 Thread Merlin
Hi there, I have included a imagecreatefromgif() into my code which runns pretty fine on my testsystem 4.3.3 Now I uploaded it to the live system where an older version is running and is build with GD2.0.1. This is causing an error. Is this function not included inside the gd version? Thanx,

php-general Digest 1 Sep 2003 12:12:22 -0000 Issue 2271

2003-09-01 Thread php-general-digest-help
php-general Digest 1 Sep 2003 12:12:22 - Issue 2271 Topics (messages 161327 through 161359): Re: Simple File Error 161327 by: Seth Willits 161329 by: Catalin Trifu 161341 by: Seth Willits Re: Foring a file download *and* page reload 161328 by: Jean-Christian

[PHP] reinstalling php with imap

2003-09-01 Thread Merlin
Hi there, I would like to upgrade to the latest php version. My old version was build with imap a year ago. Now I found, that the directory which contained the imap files: '--with-imap=/home/sw/horde/imap-2002.RC2' ' does not longer exist. So I guess I have to rebuild the c-client library? Is th

[PHP] Re: objects in header / sharing data among frames

2003-09-01 Thread Ronald van Raaphorst
Oeps, sent twice... Sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sharing data among frames ?

2003-09-01 Thread Ronald van Raaphorst
Hi all, I want to share data between two frames. My object should be a php script (if possible). The object should know (using a session variable) which id is currently displayed in each frame. This way, the object can decide if the frame should be refreshed or not, because it knows what ID alread

[PHP] objects in header / sharing data among frames

2003-09-01 Thread Ronald van Raaphorst
Hi all, I want to share data between two frames. My object should be a php script (if possible). The object should know (using a session variable) which id is currently displayed in each frame. This way, the object can decide if the frame should be refreshed or not, because it knows what ID alread

Re: [PHP] Unique yet Eerie

2003-09-01 Thread Jason Wong
On Monday 01 September 2003 15:54, Mohamed S. wrote: > I'm have a strange problem. I've encoutered a few before, but nothing like > this: > > New machine with php4.2.2 on RedHat with Apache2.0 > > All my forms use POST method. But I noticed that some scripts when i submit > the form, i get wierd da

[PHP] Re: Optionally force refresh in another frame

2003-09-01 Thread Catalin Trifu
Hi, JavaScript reload() function. If you have wrote in message news:[EMAIL PROTECTED] > Hi all, > > I have 3 frames: > Top, Menu (menu.php?menuid=x) and Content ( Content.php?[ table=y | > article=z]) > > Menu.php displays a menu, and the selected item=x > Content.php displays eit

RE: [PHP] session variables

2003-09-01 Thread Binay Agarwal
Check out session.cookie_lifetime .. if lifetime =0 then session should disappear once you close the browser else it will stay the time specified in lifetime options. Hope this helps and let me know. Binay "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am havi

[PHP] wrong headers from server

2003-09-01 Thread Paul Chvostek
This may be a curl question, but it may not I have a script through which I'm trying to push all images. The push happens using mod_rewrite: RewriteRule ^/(.+\.(gif|jpg|jpeg|png))(\?.*)?\$ /inc/script.php?f=$1 [NC,L,PT] Oddly, when hitting the script from a command line, I get different r

[PHP] Re: parent classes

2003-09-01 Thread Catalin Trifu
Hi, If I'm not mistaking here, you can not find the parent(s) of a class without an instance and it is quite logical. Since PHP is not a compiled language, the parent is available only at runtime. Cheers, Catalin "Cristiano Duarte" <[EMAIL PROTECTED]> wrote in message news:[EMA

[PHP] session variables

2003-09-01 Thread Diana Castillo
I am having a weird problem, when I close all my browser windows and restart my application, the session variable which I set comes back suddenly, but only when I call a certain class . As far as I know the session variables should disappear when I close the browser. Why would they suddenly come b

[PHP] Optionally force refresh in another frame

2003-09-01 Thread Ronald van Raaphorst
Hi all, I have 3 frames: Top, Menu (menu.php?menuid=x) and Content ( Content.php?[ table=y | article=z]) Menu.php displays a menu, and the selected item=x Content.php displays either a mysql table or an article. Now I don't want to refresh the menu frame when the topic is the same for another ar

[PHP] Re: Unique yet Eerie

2003-09-01 Thread Catalin Trifu
Hi, I have been using PHP for some time now and I, for one, never had such problems. I'm pretty sure the problem is elsewhere. For instance, when creating the HTML form, you have to make sure everything is quoted perfectly: And then in PHP, you have to quote

[PHP] Tracking Bandwidth usage....

2003-09-01 Thread Binay Agarwal
Hi All, I need to track the bandwidth usage of the different sites hosted on a server. How can i achieve this using PHP,Apache,mysql under Linux environment. Please suggest me as it is urgently needed by client. Thanks Binay

Re: [PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Ronald van Raaphorst
Hi, Thanks for the response, I'll try to explain better: I have 2 frames: a Menu and a Content frame. I have 2 menu's: one for support and one for sales If the content frame displays a support article, the support menu should be displayed. If the content frame displays a sales article, the sale

[PHP] Unique yet Eerie

2003-09-01 Thread Mohamed S.
I'm have a strange problem. I've encoutered a few before, but nothing like this: New machine with php4.2.2 on RedHat with Apache2.0 All my forms use POST method. But I noticed that some scripts when i submit the form, i get wierd data. For example: say i have then what i will get for $example

Re: [PHP] cookie crumbles

2003-09-01 Thread Jaap van Ganswijk
At 2003-09-01 00:49 -0400, John Taylor-Johnston wrote: >I create this cookie, using Javascript:: > >testals.flsh.usherb.ca FALSE / FALSE 1062433227 weather.htm9995 1 > >If the browser is reloaded, I want php to read the cookie and do my else statement. >Even after a browser shut-down and restar

Re: [PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Raditha Dissanayake
Hi, It's not very clear from your message what you are trying to do. If you are trying to just reload some of the frames instead of the whole frameset look at the 'target' attribute for 'A' element in html. Ronald van Raaphorst wrote: Hi all, I have header, a menu and a content frame. The head

[PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Ronald van Raaphorst
Hi all, I have header, a menu and a content frame. The header should not be refreshed. The menu dislays a menu (menu.php?menuid=x) from a mysql menu database, and should be refreshed based on a condition. The content frame (content.php?[article=x | table=y]) displays either an article or some dat

Re: [PHP] Re: Simple File Error

2003-09-01 Thread Seth Willits
On Sunday, August 31, 2003, at 05:01 PM, Catalin Trifu wrote: Hi, The user root is the which starts the main apache process, the others are the actual servers spawn by the first one. So the user under which apache runs is www. This means that you need to grand write access to those d

Re: [PHP] manual/eng

2003-09-01 Thread php
On Sun, Aug 31, 2003 at 02:38:45PM +0300, Paul Marinas wrote: Hi all, Thanks to all of you that answered That was nice and will get me started. regards Metta > try http://www.php.net/download-docs.php > u have a link there for diferent languages -- A saying of the Buddha from http://metta.lk/

[PHP] cookie crumbles

2003-09-01 Thread John Taylor-Johnston
I create this cookie, using Javascript:: testals.flsh.usherb.ca FALSE / FALSE 1062433227 weather.htm9995 1 If the browser is reloaded, I want php to read the cookie and do my else statement. Even after a browser shut-down and restart, I cannot get PHP to read the cookie (first part of my if

Re: [PHP] WYSIWYG online editor for Macintosh?

2003-09-01 Thread Justin French
I think this is at the point where you might need to cut your losses, and look for a good, lightweight WYSIWYG editor application for OS9 (free/share ware) that you can load on their systems... they can simply cut-and-paste from the textarea to their editor and back. This way the OS X (OSX has

Re: [PHP] WYSIWYG online editor for Macintosh?

2003-09-01 Thread Joel Rees
> The client is using OS9 > and OSX so I need to find something that works with both. It's looking > like Java at this moment in time. You will need to be aware -- Java on Mac OS 9 is somewhat limited. Look up MRJ on Apple's tech pages. You will definitely want to test separately on Mac OS 9 and

Re: [PHP] Cookie, how to name

2003-09-01 Thread Chris Shiflett
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > if (!isset($_COOKIE["weather_htm".$StudentId])) $_COOKIE["weather_htm$StudentId"] Hope that helps. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://ww

Re: [PHP] parent classes

2003-09-01 Thread daniel
I think i know what you mean, when you are using a sub class and you want to use functions of a base class i find i have to do this to make it work in the sub class constructor parent::HTTP_Register; > I want to iterate through parents of some class. > The function get_parent_class is not enough

[PHP] parent classes

2003-09-01 Thread Cristiano Duarte
I want to iterate through parents of some class. The function get_parent_class is not enough since it retrieves only the first parent of an instance. Is there a way to retrieve the parents of a class without having an instance of this class ? And if I have an instance, can I retrieve all parent cla

[PHP] Cookie, how to name

2003-09-01 Thread John Taylor-Johnston
Sorry, hit sent by accident :) I have a cookie: if (!isset($_COOKIE["weather_htm"])) But I want the name of the cookie to include $StudentId like this: if (!isset($_COOKIE["weather_htm".$StudentId])) Of course, the line does not read the cookie. What is the problem with my syntax please? Joh

[PHP] Cookie, how to name

2003-09-01 Thread John Taylor-Johnston
-- John Taylor-Johnston - "If it's not open-source, it's Murphy's Law." ' ' ' Collège de Sherbrooke: ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/ - Université de Sherbrooke: http://comp

Re: [PHP] Re: Simple File Error

2003-09-01 Thread Catalin Trifu
Hi, The user root is the which starts the main apache process, the others are the actual servers spawn by the first one. So the user under which apache runs is www. This means that you need to grand write access to those directory to the user www, and or the group (www i suppose) Chee

Re: [PHP] Foring a file download *and* page reload

2003-09-01 Thread Jean-Christian IMbeault
Marek Kilimajer wrote: > > But because explorer does not support multipart/mixed and it is still > the major browser (thought not for long ;), do it this way. Output > header('Refresh: 0; url=download.zip'); first and then load the html > page with new data blocks. Sorry if the solution is obv