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
"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 wh
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...
Spike
"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 setTime
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 forg
"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 main
"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 regard
"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
>
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
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 wor
"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 e
"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
';
if(empty($verif)){
Display Some message...
$counter++;
fputs($file, "\r\n");
}
else{
Display SomeOther message...
$counter++;
fputs($file, "\r\n");
}
}
else{
reset counter to 0
destroy session...
}
I want this set up such that gi
"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 pr
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 d
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
Any idea why this is not working...
$file = fopen("Counter.txt", "r+");
$counter = fread($file, filesize("Counter.txt"));
fwrite($file, "$counter", strlen($counter));
echo '';
if(empty($SomeVariable...)){
$counter++;
// Here counter indicates that it has been incremented...
echo "cou
"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$93c
"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
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 Graphi
"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 St
"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
"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
no point in posting it up...
Thanks for the response though...
Spike...
>
> ..mike..
>
> 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
> &
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
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 unsu
I am trying to execute a Script running a telnet command
testing through a range of IP connections...
Here goes:
What I want to stick into the while loop is if connection
was successful, break... Is there a way I can check whether
telnet connection was successful on each step through the
loop
>
> If ('GET' == $HTTP_SERVER_VARS['REQUEST_METHOD']) {
> $MailToAddress = '[EMAIL PROTECTED]';
> $MailSubject = 'Get Involved List';
> ?>
>
>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
Sorry I forgot to stick the mail function there
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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:
if possible try and run it as a script by connec
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
"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, Apa
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(;
> sessi
> 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 s
Wouldnt this work?
function myFunc(){
var myJavaScriptVar = initialValue...
Do What Ever (manipulate myVar)...
document.myForm.fieldName.value = myJavaScriptVar;
";
?>
// If you are not running apache (if running IIS) you may get an undefined
// variable notice on runni
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 l
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!";
Alternatively code a redirection page on the HTML
page to redirect to the PHP page in 0 seconds...
(Some simple online Code)...
http://www.mynewIndexPage.php";>
if page is not redirected in 1 second click
http://www.mynewIndexPage.php>HERE
"Sailom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PRO
CGI or ISAPI?
>
> I got so much similar 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 probl
"Richard Black" <[EMAIL PROTECTED]> wrote in message
004701c22cc9$880a4be0$16fea8c0@DVLAPTOP1">news:004701c22cc9$880a4be0$16fea8c0@DVLAPTOP1...
> Sounds more like it's to do with the php.ini settings on the IIS box
> than IIS itself.
>
> http://www.php.net/manual/en/configuration.php#ini.error-re
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 t
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 ca
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, th
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 Ske
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
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: http://www.php.net/unsub.php
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
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 (http://www
"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
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 you
Figured it out:
I just rewrote the first 3 lines with a few new Line Characters and place
respat the
Line I wanted Changed with its Variable...
fputs($file, " 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...
> $
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 dece
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, 25
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
have one or
> more matches. In the second case you can proceed with 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
> 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 cor
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 go
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 Apac
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 doing
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
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
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 group
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 mes
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.
>
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 fu
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 it
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 variable
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)){
$ip=getenv(HTTP
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: h
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
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
getenv($REMOTE_ADDR
Thanks I figured it out it was to do with configurations...
I was searching the wrong directory (do I ever feel dumb?!)...
Spike...
"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hallo Folks
>
> I h
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 h
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
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:
there is a tendency to lose info.. E.g.
If you are sending text separated by spaces you only manage to
send the first wor
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...
--
"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 i
"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 q
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'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 feeling
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'
"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
82 matches
Mail list logo