[PHP] Misbehaved Script...

2002-11-19 Thread Kondwani Spike Mkandawire
Hi folks: Have any of you guys encountered the following error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My Scripts that require user interaction and self modification often encounter this. I have no clue

[PHP] Re: refresh a php page

2002-09-06 Thread Kondwani Spike Mkandawire
Meltem Demirkus [EMAIL PROTECTED] wrote in message 001b01c2559c$11d3af60$5583@hiborya">news:001b01c2559c$11d3af60$5583@hiborya... Hi, Is it possible to refresh a php page by a code?Or I should use meta or javascript?. thanks meltem Most of the responses I get when I ask Qs

[PHP] Closing Frames...

2002-09-04 Thread Kondwani Spike Mkandawire
How can I go about closing a Frame using PHP would this be possible considering that PHP is Server Side? I am assuming Frame closing is similar to Window closing (I am trying to avoid doing this in JavaScript in case someone has JavaScript disabled on their browser)... Thanks in advance...

[PHP] Re: Active page

2002-08-22 Thread Kondwani Spike Mkandawire
Budi Kelana [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I want to make a web page that can retrive data from my tables automatically, periodically. Does PHP have some timer control ? I know we can do with JavaScript (setInterval() or setTimeOut())

[PHP] Re: Code for off-site Maintenance?

2002-08-21 Thread Kondwani Spike Mkandawire
Andre Dubuc [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Soon, I will be transferring my site to go on-line with my IP. Since I've never managed anything off-site, I have a very fundamental question: What are the usual procedures with respect to maintaining

Re: [PHP] PHP Web site down?

2002-08-21 Thread Kondwani Spike Mkandawire
It seemed to be down... Earlier in the morning I had trouble getting onto it... Its alright now though, it may have been traffic or some minor stuff... Spike... Adam Williams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Thanks! Silly me, I'm always

[PHP] Re: A Doubt!

2002-08-19 Thread Kondwani Spike Mkandawire
Thiruvelraj Pokkishamani [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Sir, I am using Windows 2000 server, and i use IIS 4.0 as the server and i have done many php scriptings and everything works fine and i done have any problem regarding this.

[PHP] Re: using PHP on forms submitted to other sites - HELP

2002-08-16 Thread Kondwani Spike Mkandawire
Dan McCullough [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... We have a client that has a form that submits to a payment processor to handle the cc processing. The visitor gets what he wants and then comes to a verification page on our clients site. He wants

[PHP] Re: Forms and sessions

2002-08-15 Thread Kondwani Spike Mkandawire
Donpro [EMAIL PROTECTED] wrote in message 007601c24462$fec36fe0$[EMAIL PROTECTED]">news:007601c24462$fec36fe0$[EMAIL PROTECTED]... Hi, How can I keep values in a from when using session_start() and later, the I always keep variables as hidden HTML variables Note: you'd have to include

[PHP] Re: Keyword exact phrase search

2002-08-15 Thread Kondwani Spike Mkandawire
David Buerer [EMAIL PROTECTED] wrote in message 91FBD0B430EFD5118B930060672D982C081148@CAIRO">news:91FBD0B430EFD5118B930060672D982C081148@CAIRO... Has anyone bumped into or written a set of good searching routines? I need to search across one,two, or three fields in an MySQL database in either

[PHP] Destroying Sessions... (Page Expired....)

2002-08-15 Thread Kondwani Spike Mkandawire
I have my Sessions Started in a different function... I have a different function displaying a form dependent on input... At the end of the body of the Script (The Script that is not part of any function //based on an online example by: URS Gehrig... I try to destroy the session.. This isn't

[PHP] Sessions...

2002-08-15 Thread Kondwani Spike Mkandawire
Am I mistaken to assume that a Session is automatically destroyed if a Window Browser is closed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Detecting Browser Closing...

2002-08-14 Thread Kondwani Spike Mkandawire
Is there a function that can detect if anyone has closed the browser? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Detecting Browser Closing (2)...

2002-08-14 Thread Kondwani Spike Mkandawire
Sorry I din't quite phrase that right... Here goes I am manipulating variables according to various user reactions... I want to be able to alter a certain variable to its default if the user decides to say, well to hell with it and closes his browser... Are there any php functions that would

Re: [PHP] Detecting Browser Closing...

2002-08-14 Thread Kondwani Spike Mkandawire
Chris Boget [EMAIL PROTECTED] wrote in message 075f01c243ba$2a9d11b0$8c01a8c0@ENTROPY">news:075f01c243ba$2a9d11b0$8c01a8c0@ENTROPY... Is there a function that can detect if anyone has closed the browser? Not in PHP. You can using JavaScript, however. Chris Thanks for the prompt

[PHP] Sessions...

2002-08-14 Thread Kondwani Spike Mkandawire
? setcookie(cookie, Job Postings Psyc... Created by Kondwani Mkandawire, time()+3600); session_start(); session_register(MySession); $counter=0;? ?php $file = fopen(basename($PHP_SELF), r+); if((SomeCondition is Satisfied)($counter 4)){ echo 'form name=formName action =

[PHP] Writing to a file that's not PHP_SELF

2002-08-13 Thread Kondwani Spike Mkandawire
Any idea why this is not working... $file = fopen(Counter.txt, r+); $counter = fread($file, filesize(Counter.txt)); fwrite($file, $counter, strlen($counter)); echo 'form name=studVer action = ThisSameFile.php method=post'; if(empty($SomeVariable...)){ $counter++; // Here counter

[PHP] Re: What the heck is this Zope?

2002-08-09 Thread Kondwani Spike Mkandawire
Deependra B. Tandukar [EMAIL PROTECTED] wrote in message 003e01c23f8c$ce099120$0101@dt">news:003e01c23f8c$ce099120$0101@dt... Dear all: What the heck is this Zope? Which is better PHP or Zope? Any idea ! DT I just skimmed over the documentation and the tutorials on line and couldn't

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Kondwani Spike Mkandawire
Chris Garaffa [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday, August 9, 2002, at 07:27 AM, Jason Wong wrote: Which is better PHP or Zope? How long is a piece of string? Twice the length of one of its halves. c. What if the String cannot be

[PHP] JSP vs. PHP?

2002-08-09 Thread Kondwani Spike Mkandawire
I'm still into PHP like crazy... But I have been told JSP is more powerful how true is this? From what I've read so far (tutorials and all), the syntax is 100% similar to Java i.e. it is basically Java with additional library functions... Now here's the story: I am yet to use PHP with a

Re: [PHP] Sending automatically mail

2002-08-09 Thread Kondwani Spike Mkandawire
César aracena [EMAIL PROTECTED] wrote in message 002101c23fcb$4e43c390$93c405c8@gateway">news:002101c23fcb$4e43c390$93c405c8@gateway... I had a question like this once, and the most applicable answer I got from this list was to make a script which triggers *IF* a certain time of day was

Re: [PHP] Sending automatically mail

2002-08-09 Thread Kondwani Spike Mkandawire
Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... César aracena [EMAIL PROTECTED] wrote in message 002101c23fcb$4e43c390$93c405c8@gateway">news:002101c23fcb$4e43c390$93c405c8@gateway... I had a question like this on

[PHP] Re: Script Testing Portal Connections...

2002-07-24 Thread Kondwani Spike Mkandawire
Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... #!/usr/local/bin/php -q ? // don't timeout! set_time_limit(0); // set some variables $host = 1.2.3.4...; $port = 1234; $command = /usr/games/fortune; # I must be missing something, cuz I don't see where this

[PHP] Script Testing Portal Connections...

2002-07-23 Thread Kondwani Spike Mkandawire
I am trying to test a Script which I got online and will modify later (its from devshed)... It fails to set up a connection... #!/usr/local/bin/php -q ? // don't timeout! set_time_limit(0); // set some variables $host = 1.2.3.4...; $port = 1234; $command = /usr/games/fortune; // create socket

Re: [PHP] Script Testing Portal Connections...

2002-07-23 Thread Kondwani Spike Mkandawire
On Tue, 2002-07-23 at 06:10, Kondwani Spike Mkandawire wrote: I am trying to test a Script which I got online and will modify later (its from devshed)... It fails to set up a connection... #!/usr/local/bin/php -q ? // don't timeout! set_time_limit(0); // set some variables

[PHP] Re: Newbie getting close, form submission

2002-07-22 Thread Kondwani Spike Mkandawire
Work by process of elimination... Here goes... Start with testing whether your mail will actually send the mail by executing a one line script... Just out of curiosity: how come your host is running an old version of php... Test the following: ?php ( [EMAIL PROTECTED], Testing, Just a Test,

[PHP] Re: Newbie getting close, form submission

2002-07-22 Thread Kondwani Spike Mkandawire
Sorry I forgot to stick the mail function there ?php mail( [EMAIL PROTECTED], Testing, Just a Test, ); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Parse error

2002-07-22 Thread Kondwani Spike Mkandawire
?php If ('GET' == $HTTP_SERVER_VARS['REQUEST_METHOD']) { $MailToAddress = '[EMAIL PROTECTED]'; $MailSubject = 'Get Involved List'; ? ?php exit; } ? You appear to be moving in and out of PHP Mode that could be pretty tough to follow... I've practically been looking at php Code

[PHP] Script executing Telnet Shell Command...

2002-07-22 Thread Kondwani Spike Mkandawire
I am trying to execute a Script running a telnet command testing through a range of IP connections... Here goes: ? $str = 123.456.789.; $count = 0; while ($count 999){ $runTheScriptCommand... } ? What I want to stick into the while loop is if connection was successful,

[PHP] getservbyname

2002-07-22 Thread Kondwani Spike Mkandawire
getservbyname takes in the following arguments: getservbyname(string service, string protocol); is the parameter service similar to those diefined under unix's /etc/services file or is there something else to it? Thanks in advance... -- PHP General Mailing List (http://www.php.net/) To

[PHP] Translatting php to binary...

2002-07-19 Thread Kondwani Spike Mkandawire
PHP is a scripting language I am pretty much aware of that... But is there a way to translate php into binary/machine code or would one have to write a translator program? Kondwani... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to access javascipt variables in PHP

2002-07-18 Thread Kondwani Spike Mkandawire
Wouldnt this work? form name=myForm action=sendPage.php action=post script language = javascript function myFunc(){ var myJavaScriptVar = initialValue... Do What Ever (manipulate myVar)... document.myForm.fieldName.value = myJavaScriptVar; /script input type=hidden

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Kondwani Spike Mkandawire
Before I started to read up on sessions, I simply used my own form of session management by sending all relevant variables either via URL or via form fields to the subsequent pages. Obviously this method leaves a bunch of holes as well, but I KNOW that my application is always pure and

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Kondwani Spike Mkandawire
Awesome Scott... That's some wicked code... Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Instead of Cookies, I use Sessions which is run on hte server side. So, I use the --snip-- $salt = strtoupper(md5(uniqid(rand(;

[PHP] Re: Cannot parse html pages in php

2002-07-18 Thread Kondwani Spike Mkandawire
Keith Roberts [EMAIL PROTECTED] wrote in message 006401c22e78$a71723e0$48b5913f@Operator1">news:006401c22e78$a71723e0$48b5913f@Operator1... I am running into a situation where I need some serious help. My environment is: Workstation - W2k, Frontpage Server - Cobalt RaQ4i, Linux, Apache

[PHP] php Similar to C in Pointer Memory Accessing or not?

2002-07-17 Thread Kondwani Spike Mkandawire
Hi Folks: Just for interest sake, for those of you who have messed with C know about Pointers hence probably know that one can access stuff from Memory Locations in very wierd ways via pointers and Arrays: int * ptr; ptr = array[0]; ptr=ptr-1; The last statement does not generate an error but

[PHP] Re: Complex session issue

2002-07-16 Thread Kondwani Spike Mkandawire
Just an idea, I'll point it out algorithmically coz it would take me a bit of time to sketch the code... Here goes and my appologies if this is not what you want.. Would it not work if you targeted the next application to open up in window y... The problem is that you said you want it to be in

[PHP] Re: Submit code

2002-07-16 Thread Kondwani Spike Mkandawire
Algorithmically: //in php 1) create a counter that will keep count of the # of variables that have been set 2) if all your variables have been set spit out the relevant JavaScript that runs the AutoSubmit function... (There are a couple onLine)... ... It can follow the following

[PHP] Problem Running my Scripts from IIS...

2002-07-16 Thread Kondwani Spike Mkandawire
I have a problem running my Scripts from IIS... I test them on my localhost which is running Apache and PHP 4.2.1 and it works perfectly... However I get an undefined variable error running it on an IIS Server running PHP 4.2.1 Apart from these messages that make my send to pages look untidy, the

Re: [PHP] activating php scripts via cron

2002-07-16 Thread Kondwani Spike Mkandawire
Hi Jay: If you can run PHP from the command line, i.e. php thisscript.php it means that you have installed PHP as a standalone executable. If so you What do you mean standalone? If this is in reference to not running it as a module of Apache, then my set up must be weird, because I can

[PHP] Re: read a text file

2002-07-16 Thread Kondwani Spike Mkandawire
php.net has little snippets under the documentation for the fread function... That's a start... Edgar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I was looking for in the news, but i did not encounter any thing. Where can I get an example or the way to read

[PHP] Re: Problem Running my Scripts from IIS...

2002-07-16 Thread Kondwani Spike Mkandawire
trouble with the ISAPI dll on IIS that I use the CGI nowadays. MH Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a problem running my Scripts from IIS... I test them on my localhost which is running Apache and PHP 4.2.1 and it

[PHP] Re: Using index.php instead of index.html

2002-07-16 Thread Kondwani Spike Mkandawire
Alternatively code a redirection page on the HTML page to redirect to the PHP page in 0 seconds... (Some simple online Code)... META HTTP-EQUIV=REFRESH CONTENT = 0; URL=http://www.mynewIndexPage.php; if page is not redirected in 1 second click a href=http://www.mynewIndexPage.phpHERE/a

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Kondwani Spike Mkandawire
create cookie and at the end of the Script/page destroy cookies Use if statements: setcookie('cookie', $value, $expire, $path $domain); if(isset($cookie)) echo Access Denied, Multiple Login Attempted!;

[PHP] Re: good article on creating a subscription form/script

2002-07-15 Thread Kondwani Spike Mkandawire
The suggestion by Mike seems feasible... However if you are working on a subsription form and are expecting the application to be used by alot of people, why don't you store the info supplied by the user to a Database as opposed to mailing it to someones box and having a whole lot of stuff in

[PHP] Re: problem with cookies and some browsers

2002-07-15 Thread Kondwani Spike Mkandawire
Andy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there, I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default. I am working on a session management system Linux's Konqueror always asks if a user wants

[PHP] South African IP Provider.. (Mweb Server Names)

2002-07-15 Thread Kondwani Spike Mkandawire
Does anyone know the name of any the mweb servers in South Africa... I am trying to test my a Php Login Script from a Computer there and I am trying to use someone elses account with an mweb subscription to test my Script from a remote area... Kondwani -- PHP General Mailing List

[PHP] Self Modifying PHP Code Working on IIS

2002-07-15 Thread Kondwani Spike Mkandawire
Am I the only one who seems to be irritated by the tremendous amount of settings you have to do on the IIS Server if testing a PHP Script... I am testing a Self modifying Script runs perfectly on Apache 1.3 /PHP4.2.1 However it is meant to sick Chunks of code at the beginning of my File... Hence

[PHP] PHP 4.3.x..

2002-07-15 Thread Kondwani Spike Mkandawire
One of the threads above Speak of PHP 4.3 I was not aware that it existed... Is it still in its Testing stages? How come its not on the PHP Website? Are there any great modifications to it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Searching a Paradox Table with my PHP Script..

2002-07-12 Thread Kondwani Spike Mkandawire
ith your processing. I've also noted Chris Hewitt's suggestions re number of connections, etc.; that's worth checking as well. See below as well ... Cheers - Miles Thompson At 04:00 PM 7/11/2002 -02-30, Kondwani Spike Mkandawire wrote: Hallo folks: (Sorry for a repost on the same to

[PHP] Re: help with mail() function!

2002-07-12 Thread Kondwani Spike Mkandawire
Try: $header = From: Test List [EMAIL PROTECTED]; mail($to, $subject, $fullbody, $header.); Note the extra Null String concatinated... My php.ini is also configured to show: sendmail_from= In the mail function... This is under WinNT... php 4.2.1 The Null String might work under UNIX

[PHP] Moving the pointer in a file...

2002-07-12 Thread Kondwani Spike Mkandawire
I am trying to read and write to a file on Line 5 and line 5 alone... $file = fopen($fileName, r+); Places the pointer at the beginning of the file I have tried the following... $line = fgets($file, 255); $line = fgets($file, 255); $line = fgets($file, 255); $line = fgets($file,

[PHP] Re: Final Year Computer Science Project involving PHP

2002-07-12 Thread Kondwani Spike Mkandawire
Hey Serdar: Have you ever heard of a piece of Software called 1st Place... You can create a simulation of that... It is used for Cooperative Education Services... We have it in place here at Memorial University (Canada)... It gives coordinators of various cooperative education programmes a

[PHP] Re: Moving the pointer in a file...

2002-07-12 Thread Kondwani Spike Mkandawire
the Cookie expiration Time? Spike... Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am trying to read and write to a file on Line 5 and line 5 alone... $file = fopen($fileName, r+); Places the pointer at the beginning of the fil

[PHP] Searching a Paradox Table with my PHP Script...

2002-07-11 Thread Kondwani Spike Mkandawire
Hallo folks: I have a bit of an issue with Paradox Table Searching... I have a fairly large table (4MB+), here is the problem: When I run a search for an element in the Table on my localhost which is running Apache and php 4.1, I have no issues with speed... However when I run it on the Server

[PHP] Re: (OT) No Punishment for Erik Hegreberg, Yet...

2002-07-11 Thread Kondwani Spike Mkandawire
I don't know what part of South Africa you're from Bee... I suppose you are an Afrikanner! I know in Sandton where my pops is, things run efficiently... Except for the fact that Internet Cafes run slow connections I see nothing wrong with the S.A's setting, for that fact it means people are

[PHP] Searching a Paradox Table with my PHP Script..

2002-07-11 Thread Kondwani Spike Mkandawire
Hallo folks: (Sorry for a repost on the same topic just that my first one never got through)... I have a bit of an issue with Paradox Table Searching... I have a fairly large table (4MB+), here is the problem: When I run a search for an element in the Table on my localhost which is running

[PHP] Re: Searching a Paradox Table with my PHP Script..

2002-07-11 Thread Kondwani Spike Mkandawire
Would it be that it takes time to connect to a table if it is in use? Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hallo folks: (Sorry for a repost on the same topic just that my first one never got through)... I ha

Re: [PHP] Searching a Paradox Table with my PHP Script...

2002-07-11 Thread Kondwani Spike Mkandawire
Is the table layout, indices, amount of data and ODBC connection the same in both cases? How long is ages? If minutes then is it a DNS problem in connecting to the server computer? You could try this by getting an item of data from a new table containing only one row. Do I understand

[PHP] Re: Is it so fuckin diffuicult...

2002-07-10 Thread Kondwani Spike Mkandawire
Wow the vulgarities... Anywayz, I guess that's how you gotta address people like Erik Hegreberg... Ashley M. Kirchner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... vins wrote: Is it so fucking difficult to do the fucking unsubscribing yourself. Stop

Re: [PHP]Erik Hegreberg (Moderator)

2002-07-10 Thread Kondwani Spike Mkandawire
Surely there ought to be some simple code that could check for this joker's e-mail address when it reaches the Server and simply prevent it from being distributed... Isn't every e-mail address verified anywayz before it goes to the mailing list? Marek Kilimajer [EMAIL PROTECTED] wrote in

[PHP] Cannot Insert into Paradox Tables...

2002-07-10 Thread Kondwani Spike Mkandawire
I am trying to insert info. into a paradox table but receive the following message after inputting the data into the approriate fields... Warning: SQL error: [Microsoft][ODBC Paradox Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in c:\program files\apache

Re: [PHP] Re: Cannot Insert into Paradox Tables...

2002-07-10 Thread Kondwani Spike Mkandawire
6's to acquire this under UNIX but I have no idea on how to go about this under WinNT... Alex Piaz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

[PHP] Re: getting the IP address off a visitor

2002-07-09 Thread Kondwani Spike Mkandawire
Despite all downfalls of using IP addresses, if you are in North America most people in a University or business environment use a fast connection (DSL or Cable) you may choose to use the following chunk of code to retrieve someone's IP number if (getenv(HTTP_X_FORWARDED_FOR)){

[PHP] Re: Print Question

2002-07-09 Thread Kondwani Spike Mkandawire
I wasn't in the office hence haven't visited this group for a while... Here's an idea though I still may not understand the whole situation but from what I think it is here goes: I guess you will have to mix javascript and php in the following manner... use onclick for a particular HTML

[PHP] Working under Apache 1.3 but not Under IIS

2002-07-09 Thread Kondwani Spike Mkandawire
The function shown below only functions with my Apache on WinNT... I have tried it on my local Server (thats the one running the Apache and it works perfectly)... I am trying to step through a moderately large database (4MB)... However when I tried the example on the Server for my Work Place

[PHP] Re: Working under Apache 1.3 but not Under IIS (Problem Resolved But its too Slow)...

2002-07-09 Thread Kondwani Spike Mkandawire
been easy using different search strategies (possibly even Hashing Keys...) Please give me some suggesstions... Kondwani... Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The function shown below only functions with my Apache

[PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Kondwani Spike Mkandawire
Quick Question on Cookies vs. IP Number: They appear to be easy to set (well at least in PHP), hence quite easily to get around (The user of your Site simply deletes the Cookie on his Hard Drive...) In Konqueror you are actually given the option of rejecting cookies... Using

Re: [PHP] function for size of array

2002-07-05 Thread Kondwani Spike Mkandawire
Neat!... Philip Olson [EMAIL PROTECTED] wrote in message Pine.BSF.4.10.10207051644510.68593-10@localhost">news:Pine.BSF.4.10.10207051644510.68593-10@localhost... It's a term with many different meanings. See: http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?RTFM On Fri, 5 Jul 2002,

[PHP] Configuring the Session Function in php.ini for WinNT...

2002-07-05 Thread Kondwani Spike Mkandawire
Does anyone know how to configure the session function in the php.ini File under WinNT... The Session Function appears to be generic to UNIX... What do I change the save_path variable to... session.save_path = ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Paradox Tables with PHP (Still the Same old Question)...

2002-07-04 Thread Kondwani Spike Mkandawire
Hallo Folks I have come across this problem many times... But still haven't seen anyone give a reasonably coherent solution... I am trying to get my script to read Paradox Tables... Its a no go so far... I do believe that this can be achieved via. odbc... I have tried the configurations but

Re: [PHP] Re: PHP does not work??

2002-06-27 Thread Kondwani Spike Mkandawire
I forgot to point out another disadvantage of turning on register_globals apart from that of security is that when you are sending a page with a form to the same page, e.g: form name=whatever action=$PHP_SELF method=post there is a tendency to lose info.. E.g. If you are sending text separated

[PHP] Re: PHP and OOP

2002-06-27 Thread Kondwani Spike Mkandawire
I still don't get what the big fuss of OO programming is about I do agree that it is stylistic hence helps someone else who hasn't written your code to follow up on what you are doing... But so far the programs I have been writing in OO supported languages have been written and scripted on an as

Re: [PHP] Email

2002-06-26 Thread Kondwani Spike Mkandawire
You would have to reconfigure the smtp outgoing server in your php.ini file in the mail function as follows: SMTP=smtp.myHost.whatever I believe the php.ini file in Linux uses sendmail... In the php.ini simply search for [mail function] and make the necessary changes as above... Spike...

[PHP] Re: paradox

2002-06-25 Thread Kondwani Spike Mkandawire
I've been having the same error for the past couple of days, I have posted on a couple of news goups with no response... I even have a posting on this one... I posted one on the paradox news group and some very rude individual gave a sarcastic response and led me back here (I think he was

[PHP] Re: File Retrieval, unusual

2002-06-25 Thread Kondwani Spike Mkandawire
Do you really need the quotation marks when you are simply using php to spit out your HTML? Unless it is absolutely necessary php still spits out the correct HTML code without uneccessary quotations... echo a href= $address; I am quite sure this should work for the link tag... Correct me if I

Re: [PHP] Re: File Retrieval, unusual

2002-06-25 Thread Kondwani Spike Mkandawire
Jay Blanchard [EMAIL PROTECTED] wrote in message 001601c21c4b$67cfc5f0$8102a8c0@niigziuo4ohhdt">news:001601c21c4b$67cfc5f0$8102a8c0@niigziuo4ohhdt... --- Did you reply to the wrong message? Nope, You posted your question in someone else's Reply Section... (Martin Johansson's function echo

[PHP] Re: check if a foreach loop has successfully run

2002-06-25 Thread Kondwani Spike Mkandawire
Jule Slootbeek [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... if (foreach ($answer as $a) { echo $a }) { return TRUE; } else { return FALSE; } Seems about right, however by default output is printed to a Page unless you are running your script in the

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Kondwani Spike Mkandawire
Martin Johansson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! Cookies makes me go AGHH!! Please help me with this: I am setting a cookie like this in my loginscript: setcookie(devProcCookie, cookie value.|.time(), 31536000); // Set cookie

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Kondwani Spike Mkandawire
As opposed to using the Cookies Array HTTP_COOKIES_VAR could you not just use explode the $devProcCookie using if (isset($devProcCookie)){ $tok = explode(|, $devProcCookie); } //Note this will only work if the global variables in your php.ini files are turned on... I have no idea why it can't