Hi,
Tuesday, October 1, 2002, 5:11:08 PM, you wrote:
PO> $title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0;
PO> Can anyone tell me why this is not evaluating correctly (returning a
PO> value of 1) when $adTitle is an empty string?
It is right according to your expression, try
Pablo Oliva wrote:
>$title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0;
>
>Can anyone tell me why this is not evaluating correctly (returning a
>value of 1) when $adTitle is an empty string?
>
>
>
>
I have no idea... but if you change your code to this, it works:
$title_err = ($
James Mackie wrote:
>On most of my servers that are running 4.2.2 (and before) I used
>'killall -USR1 httpd' to reload my apache config. Now all servers that I
>install with 4.2.3 instead of 4.2.2 this shuts down apache instead of
>reloading the config files. (-HUP still works as it should).
>
>
René Moonen wrote:
> Pablo Oliva wrote:
>
>> $title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0;
>>
>> Can anyone tell me why this is not evaluating correctly (returning a
>> value of 1) when $adTitle is an empty string?
>>
>>
>>
>>
> I have no idea... but if you change your code
I am getting the following when i try to connect to an imap server with PHP
4.1.2
whatever i run gives this message when i try to connect to the imap
server( i.e. i try connecting with IMP and a completely different webmail
program)
-
server="localhost" user="cmw" mailbox="{lo
Thanks, Erwin!
--
Kyrie Eleison,
Rick
www.spiritsword.com/phpBB2/
Erwin wrote:
>> On line "6", I have the list of musicians in the song.
>> Example (ignore the quotes): "Doyle Lawson -- lead vocal; Dale Perry
>> -
>> - bass vocal"
>> Is there a way to make it so that, when I include line 6 in
I am getting the following when i try to connect to an imap server with PHP
4.1.2
whatever i run gives this message when i try to connect to the imap
server( i.e. i try connecting with IMP and a completely different webmail
program)
-
server="localhost" user="cmw" mailbox="{lo
Hi Tom
I did finally get my mails on this account (my personal mailbox) hours later
but my main problem is with mails sent by scripts on my site (using the
mailserver of my web provider) and other people complaining to me that they
dont get mails sent from their websites to their ISP mailboxes (u
Bob Irwin wrote:
>
>
>What I am getting is not accurated, it just seems to grab the one entry,
>which is correct, but there are 3 entries that fall within the range I am
>trying to select on.
>
What are the other two records you think ought to be returned? I feel
the sql statement probably gets
Hello Smith,
Thanks for your reply. Do you have any idea in implementing same with any
other language?
But VNC and all needs download process to use (control remote desktop).
I'm asking abt web based(anywhere control- no need to download and install).
if you have any idea in doing this, plz te
Hello,
I am trying to install php under some other drive like d: or e: ..it was
installed properly without telling any error...but i couldn't run even the
testing program ( )
I have mentioned in the php.ini and apache conf file with d: where ever i
have mentioned c: ..but it not coming..C
Hi Chris
They are having the problem receiving the mail sent by the script not
sending.
They go to my site and generate a form mailer using their email ad
They upload it to their webserver
Then they email me saying that they are testing the mailer out on their site
and it seems to work but they n
Depends on your connection and CPU speed, slow connection - higher
compression, slow CPU - lower compression, and vice versa
Jay wrote:
>I have the "output_handler = ob_gzhandler" turned on in the php.ini file so
>it will automatically compress all my pages. I was just wondering what is a
>goo
John W. Holmes propably said:
> Do you have a session_start() on the page? It looks like you have a
> trans_sid enabled. PHP will add that to all of your URLs
> automatically. Can you disable it in php.ini?
Yes trans_sid is enabled and i have a session_start on the page. What is
trans_sid doing
Have you tried
include("
http://valsignalandet.com/cgi-bin/cgiwrap/ppowell/php4.cgi/~ppowell/my/style.php
");
Phil Powell wrote:
>I have the following URL:
>
>http://valsignalandet.com/cgi-bin/cgiwrap/ppowell/php4.cgi/~ppowell/my/style.php
>
>This is a PHP script that is evaluated and compiled
To reply to myself .)
I disabled trans_sid on the actual site by using:
ini_set('session.use_trans_sid',false);
session_start();
But i still want to know what trans_sid does for me. What am i missing out
on when not using it?
- D, loves google
--
PHP General Mailing List (http://www.php.n
on 01/10/02 7:45 PM, Daniel Alsén ([EMAIL PROTECTED]) wrote:
> John W. Holmes propably said:
>
>> Do you have a session_start() on the page? It looks like you have a
>> trans_sid enabled. PHP will add that to all of your URLs
>> automatically. Can you disable it in php.ini?
>
> Yes trans_sid is
On Tue, 1 Oct 2002 12:06:04 +0200, Daniel Alsn wrote:
>To reply to myself .)
>
>I disabled trans_sid on the actual site by using:
>
>ini_set('session.use_trans_sid',false);
>session_start();
>
>But i still want to know what trans_sid does for me. What am i missing out
>on when not using it?
>
>-
here is a tricky question, i have created a photo gallery script where i can
edit the photo and gammacorrect the photos, at the moment i post the gamma
value and refreshes the resized preview image , what i'd like to do is be
able to have a before and after preview so half the image is the normal
Justin French propably said:
> You'd loose session for those without cookies. The work around for
> this would be to hard-code the session ID to all URLs across your
> site for all pages you wish to carry a session through -- a real pain.
Indeed.
> It HAS TO use a session ID from the first pag
In order to set and then check a cookie, you need to go through a page... so
you'd have to set something in the URL like ?cookieset=1 anyway, in order to
knwo you had set it, in order to check it.
In other words, you'll need some guff in the URL, in order for it to all
work, so why not let it be
Justin French propably said:
> In order to set and then check a cookie, you need to go through a
> page... so you'd have to set something in the URL like ?cookieset=1
> anyway, in order to knwo you had set it, in order to check it.
>
> In other words, you'll need some guff in the URL, in order f
Hi (I'm sending this again becasue i didn't find a solution yet)
"I have a problem when i'm sending form data. The issue happens when I build
a mysql query with some form input data. I send the info and I get 'n'
results from mysql server. With this I build a list that has links to the
records t
"Ah, so this is happening on another server. "
Both - mine and others.
"Does that server send emails OK other than by your script?"
Others - not known - the reason they use the generator (mostly) is because
they dont know how to write the code themselves. But their webserver is
running PHP and
Since I installed apache from source and not an RPM I do not have an rc
file that the service command would use. I start apache in the rc.local
file. -USR1 should be the 'NICE' way to reload the configuration files
as per the apache documentation and has worked for many versions. Its
just with PHP
Hi every1 I'm stucked with this page in which I would like to perform
some check before submit and in the meantime I need to be able to change
some content upon a choice at the top of the page.
My first attempt was:
The form has been submitted every time I change the option at the top of
the pa
You mean using GET Method to retrieve the info ? I don't know. I'll have to
check it. But is strange. I'm going to test it from a linux box with
Konqueror, or Netscape to see if it's a browser problem or a server problem.
Maybe the IIS send the info by it self.
I'm going to try that,
tks
Franc
> -Original Message-
> From: Pablo Oliva [mailto:[EMAIL PROTECTED]]
> Sent: 01 October 2002 08:11
> To: [EMAIL PROTECTED]
> Subject: [PHP] conditional statement problems
>
>
> $title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0;
>
> Can anyone tell me why this is not eva
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: 01 October 2002 02:21
> To: 'Daren Cotter'; 'PHP General Mailing List'
>
> > City: Just ' ??
>
> I'd allow space and period, too, for "Ft. Gordon" for example.
>
> "^[-a-zA-Z0-9' .]+$"
Well, there's an Engl
James Mackie wrote:
> Since I installed apache from source and not an RPM I do not have an
> rc file that the service command would use. I start apache in the
> rc.local file. -USR1 should be the 'NICE' way to reload the
> configuration files as per the apache documentation and has worked
> for ma
Use globals variables instead hidden fields. Maybe it works.
Peace & Love
skitum
- Original Message -
From: "Riccardo Sepe" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 1:34 PM
Subject: [PHP] PHP and JavaScript on a validation NIGHTMARE
> H
skitum wrote:
>Use globals variables instead hidden fields. Maybe it works.
>
>Peace & Love
>skitum
>
>
>
Cool mate I' ll let u know!
bye
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need to install a spell checker on a content management system that I
wrote in PHP a few months ago. I've found a free, simple spell checker
written in ASP that I can easily port to PHP, but the more daunting task for
me is creating the JavaScript to implement the spell checker. I haven't been
a
Google it!!
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=php+spell+checker&btnG=Go
ogle+Search
Seems to be a few good starts on the first 10 results!!
Justin French
on 01/10/02 10:10 PM, Lowell Allen ([EMAIL PROTECTED]) wrote:
> I need to install a spell checker on a content managemen
[snip]
On line "6", I have the list of musicians in the song.
Example (ignore the quotes): "Doyle Lawson -- lead vocal; Dale Perry -- bass
vocal"
Is there a way to make it so that, when I include line 6 in my PHP template,
the ";" will be replaced with a line break so I get one musician per line i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Try: http://www.php.net/manual/en/language.operators.arithmetic.php
I think that'll get you started:)
~Paul
On Tuesday 01 October 2002 09:44 am, Chuck Payne wrote:
> Hi,
>
> I am really lost. I have spent an hour looking on the net and php.net f
lol
or you could just try
on 01/10/02 11:50 PM, Paul Nicholson ([EMAIL PROTECTED]) wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hey,
> Try: http://www.php.net/manual/en/language.operators.arithmetic.php
> I think that'll get you started:)
> ~Paul
>
> On Tuesday 01 October 2
Hi there,
I've got some strange behaviour here (at least, I can't explain it). I'm
running PHP 4.2.3 on a Mandrake 9.0 machine. I'm using sessions in my
little app and want to use the $_SESSION-variable to keep track of all my
variabeles.
Well, when I tell it
$_SESSION["something-intelligent"
Hi,
i came to know from someone that i can *not* make php a shared module in
apache 2.x .It works only in
1.3x.
If thats true can someone point me to some link saying the same.
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Is their any comparable tool/util whatever to automaticly create
documentation from your PHP Code (like java's JavaDoc)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hmm... subject wasn't what I wanted it to be :) Sorry about that.
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On Tuesday, October 01, 2002 11:13 PM
Subject: [PHP] $_SESSION only takes 1 character?
Tim Stoop wrote:
> Hi there,
>
> I've got some strange behaviour here (at least, I can't explain it). I'm
> running PHP 4.2.3 on a Mandrake 9.0 machine. I'm using sessions in my
> little app and want to
At 01:54 PM 10/1/02 +0200, Erwin wrote:
>James Mackie wrote:
> > Since I installed apache from source and not an RPM I do not have an
> > rc file that the service command would use. I start apache in the
> > rc.local file. -USR1 should be the 'NICE' way to reload the
> > configuration files as per
www.phpdoc.de is one I know of.
I'm not surewhat the current development activity is, but I think it's still in beta.
The front page states 'Last update: 2000/12/03' - so I don't know what's happening
there.
Regards
Scott
On 10/1/2002 4:18 PM, Francis wrote:
> Is their any comparable tool/util
Hi, I'm new to the news.
How can I stop Apache from sending HTTP headers when I execute a script. Who
handle the HTTP headers, is Apache or PHP engine?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.282 / Virus Database: 150 -
Read the documentation for VNC, and read what Ben wrote.
VNC - http://www.uk.research.att.com/vnc/
"We have a Java viewer, which will run in any Java-capable browser."
Read: no download required.
Implementing in another language would be beyond the scope of this forum.
- A
On Tue, 1 Oct 2002,
You have it backwards. Apache 2.x can only have PHP as a shared module at
this point, no static.
-Rasmus
On Tue, 1 Oct 2002, Anil Garg wrote:
> Hi,
> i came to know from someone that i can *not* make php a shared module in
> apache 2.x .It works only in
> 1.3x.
>
> If thats true can someone
By the way, it works beautifully, either using the
VNCViewer or through the java applet in a web browser.
I do a lot of remote support and it's indispensible.
Win2K seems to have some issues (frequent disconnects)
but a refresh usually puts you right back. But on
*nix systems, it's as stable as
Hi everyone.
I asked this a week or so ago but i am unsure if it got to the list, so here
we go again.
I am trying to get a remote file to be copied onto my own web server, I have
looked at fopen() and fread() and fwrite() and get the general idea of each,
but im wondering how to join the command
Everything you need:
http://www.php.net/ftp
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-01 at 11:50, Simon Angell wrote:
> Hi everyone.
> I asked this a week or so ago but i am unsure if it got to the list, so here
> we go again.
>
> I am trying to get a remote file to be copied onto my own w
Hi guys, I'm having some problems here, I have to do an application using
Oracle in Windows, I enabled the extension php_oci8.dll but I'm receiving
this error:
Warning: Unable to load dynamic library 'C:\PHP\extensions/php_oci8.dll' -
Access is denied. in Unknown on line 0
The dll is in the d
Simon Angell wrote:
>
> Hi everyone.
> I asked this a week or so ago but i am unsure if it got to the list, so here
> we go again.
>
> I am trying to get a remote file to be copied onto my own web server, I have
> looked at fopen() and fread() and fwrite() and get the general idea of each,
> but
Hi, I'm a bit new to mySQL. I got my program working fine locally, but it
doesn't work when I upload it to my ISP.
db.php and pear.php couldn't be found on my server when I first ran it. I
uploaded them, but could that be part of my problem?
The following code is returning "DB Error: not found":
Have you tried to check the access permissons ? Maybe the Oracle/PHP
user/app doesn't have the right permissons in that directory.
Regards,
Francisco M. Vaucher
Departamento IT
Tyco / ADT Security Services
Buenos Aires - Argentina
mailto:[EMAIL PROTECTED]
-Mensaje original-
De: Jadie
Does anyone have any experience with FULLTEXT indexed MySQL tables? I've
created such a key. When I type the following from the MySQL command line,
I get the desired records returned, i.e., a subset of my entire table:
SELECT HSCode, UOM, EDescript FROM HSCodes WHERE MATCH(EDescript) AGAINST
('
DonPro wrote:
>$queryID = mysql_query("SELECT HSCode, UOM, EDescript FROM HSCodes WHERE
>MATCH(EDescript) AGAINST ('" . $description . "') ORDER BY HSCode, UOM,
>EDescript");
>
I don't see what is wrong but try echoing the text of the query itself
and see if it contains what you think it does ar
>From what you say you dont want get_class_name because this gives you the
name of the class not the instance of it - which is really no different from
asking how to get the name of any var.
I dont really know why you would want to do this unless you are dynamically
naming the objects.
There is
Hi All,
I have a problem that I hope you can help me with.
I'm using a third party shopping cart solution which is quite frankly naff.
They bundle some autoresponders with it. Unfortunately the autoresponders do
not work!. I want to find a temporary solution to this. The easiest way
would be t
Have a look at ImageCopy in the manual.
HTH
Mike
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> here is a tricky question, i have created a photo gallery script where i
can
> edit the photo and gammacorrect the photos, at the moment i post th
I need help with some regular expression matching.
Here is what I am doing. In one php file, I'm reading
in the contents of an html file. Both reside on the
same server. What I need to do is change all image
tags that are like this:
To this:
I know that "basename" works if you have somet
i tried that ine and got this...
Warning: fopen("/test/canberra.txt", "w+") - No such file or directory in
C:\Xitami\webpages\bomonster\test2.php on line 4
code..
ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10035.txt' ) );
if( ($fp = fopen( '/test/canberra.txt', 'w+' )) !== false )
{
fputs( $fp, $r
You're a Windows guy so probably you need the directory delimiters facing
the other way :)
Try this one (not tested AT ALL):
$rContents = implode( "\n", file( 'ftp://www.foo.bar/me/my/data.txt' ) );
if( ($fp = fopen( 'c:\path\to\directory\outfile.txt', 'wb+' )) !== false )
{
fputs( $fp, $rC
i removed a / and it worked :)
ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10035.txt' ) );
if( ($fp = fopen( 'test/canberratest.txt', 'w+' )) !== false )
{
fputs( $fp, $rContents );
fclose( $fp );
}
?>
Now the format of the content is no longer, can this be fixed?
This is how it is originally.
Hi,
Thanx for you mails.
As per your suggestion i have decided to install apache 1.3.26(latest 1.3.x)
with php-4.2.3.
But, one thing still boggling me(and i couldnt find any documentaion about
that) is that whats the major difference between apache1.3.x series and
apache 2.x series...for what rea
Read the release notes and docs for each. Basically Apache 2 introduces
an mpm architecture which allows you to plug in different protocol
handlers that make use of different processing models for handling
requests. Most notably all the mpms except for the pre-fork mpm are
threaded, but since Fr
Windows makes me cry... this will fix the problem...
Change: $rContents = implode( "\n", file(
'ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10035.txt' ) );
To: $rContents = implode( "\r\n", file(
'ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10035.txt' ) );
If that doesn't work:
To: $rContents = imp
Hello,
I have some files off of the web root which I'd like to be able to serve up
to users (*.doc, *.xls). I know I can do this with header(), but how do I
reference a file that's outside of the webroot? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
We've been playing around with SOAP from a J2EE framework with PHP as the
client (via WSDL). Needless to say, it's SLOW. I think this has more to
do with the Java/SOAP layer than anything to do with PHP but it's
borderline unusable.
That being said, would PHP+java integration be any faster - o
I have a simple form:
Enter Username:
Submits to addUser.php:
Returns this error in my browser:
Notice: Undefined index: userName in E:\Inetpub\wwwroot\Test\addUser.php on
line 11
Is there a setting in my php.ini file I need to change? register_globals is
off, as that seems to be
[EMAIL PROTECTED] wrote:
>
> Hello,
>
> I have some files off of the web root which I'd like to be able to serve
> up to users (*.doc, *.xls). I know I can do this with header(), but how do
> I reference a file that's outside of the webroot? Thanks!
Try using filesystem links or the PHP functi
I know this should be very simple, but I just don't get it.
I want to delete a record from a mysql table, but prior to deleting the
record I want to receive an option to confirm the deletion. On page one
(kb_areas_add.php) I have a form for inputting the field (area_todelete) for
the record I wa
> echo $HTTP_SERVER_VARS['userName'];
> ?>
Make it $_POST['userName'] (or $HTTP_POST_VARS['userName'], but that's
deprecated).
Jome
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Submits to addUser.php:
Returns this error in my browser:
Notice: Undefined index: userName in E:\Inetpub\wwwroot\Test\addUser.php on
line 11
Is there a setting in my php.ini file I need to change? register_globals is
off, as that seems to be the preferred method now. But that's my iss
[snip]
The way the code is written, the record gets deleted immediately upon
clicking the submit button on page one. Is there some way I can keep the
script on page two from executing until after I press the confirmation
button?
[/snip]
One of two ways, an intermediary PHP page that asks "Are yo
[snip]
You mentioned everything but $_GET{'userName'] :^]
[/snip]
Ooops, typo!
$_GET['userName']
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My form is actually using method="post". And I did use $_POST. Can't
remember if I tried $_GET, but if I'm using post would that even work? I'll
give it a try later and let you know.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
000101c2697c$4ad74bc0$8102a8c0@000347D72515">news:000101c2697
Just create a middle page that stores the value of $area_todelete in a
hidden field.
You "YES" button would submit it to the delete code you already have,
the "NO" confirmation button would send the user somewhere else, maybe
back to the choose area page.
I hope that's not too confusing.
---
[snip]
My form is actually using method="post". And I did use $_POST. Can't
remember if I tried $_GET, but if I'm using post would that even work? I'll
give it a try later and let you know.
[/snip]
My bad! I looked at two e-mails from different folks and saw a "GET" in one,
and a "POST" in anothe
> I have some files off of the web root which I'd like to be able to
serve
> up
> to users (*.doc, *.xls). I know I can do this with header(), but how
do I
> reference a file that's outside of the webroot? Thanks!
You can use an absolute or relative path, just like any other reference.
Send the
session.gc_maxlifetime specifies the number of seconds after which data
will be seen as 'garbage' and cleaned up
Let's say it's set to 900. How is this counted, from the time of the
session is initialized, or is this counter reset every time you go to a
new page. Does this makes sense?
> session.gc_maxlifetime specifies the number of seconds after which
data
> will be seen as 'garbage' and cleaned up
>
> Let's say it's set to 900. How is this counted, from the time of the
> session is initialized, or is this counter reset every time you go to
a
> new page. Does this makes sen
This question comes up a lot. It's a browser setting, if I remember
right. IE decides it will not "repost" the data for you, so the page
isn't rendered.
You could use the GET method in your forms and this won't happen.
---John Holmes...
> -Original Message-
> From: Francisco Vaucher [m
Hi,
how can I call a html site from my php script? I want to redirect the user
to different html site depends on the php script result.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
www.php.net/header
Adam
On Tue, 1 Oct 2002, Anna Gyor wrote:
> Hi,
>
> how can I call a html site from my php script? I want to redirect the user
> to different html site depends on the php script result.
>
> Thanks!
>
>
>
>
>
--
PHP General Mailing List (http://www.
> how can I call a html site from my php script? I want to redirect the
user
> to different html site depends on the php script result.
Header("Location: http://www.domain.com/page.html";);
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Hello-
I'm running Engarde Linux v1.2 (a secure version of Linux) and it has PHP
4.0.6 installed on it as default (if asked I will explain why it's such an
old version). When I run Apache's "ab" command the results I am getting in
return are not very good. Almost 10 seconds for a script to run.
header("location:http://yourstuff";);
Do this before any output to the user. eg echos or displaying html
John
- Original Message -
From: "Anna Gyor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 8:40 PM
Subject: [PHP] Call HTML from php
> Hi,
>
> how can I
Yes.. Apachectl just calls the commands that I send manually.. Which is
why I don't use it. Apachectl graceful just recalls 'kill -USR1 '.
-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 7:35 AM
To: Erwin; [EMAIL PROTECTED]
Subject: Re: [P
You are correct.. Installing from source would not delete the file..
But.. I install servers from scratch.. When installing RedHat I only
install the base packages that are required for it to boot up and
maintain the server. All server programs (Apache, MySQL, FTP, SSH, Etc),
critial libraries (Op
Jay Blanchard wrote:
< One of two ways, an intermediary PHP page that asks "Are you sure?" while
< carrying the information forward, or a JavaScript pop-up confirmation
dialog
< box.
< HTH!
< Jay
< And John Holmes wrote:
< Just create a middle page that stores the value of $area_todelete in a
Hi,
I have a form that submits to itself via:
Within my form, I have some checkbox objects. If I check them and submit my
form, isset(variable) returns true. However, if I do not check them and
submit my form, isset(variable) returns false.
I am confused as I though that isset() returns true
Why does this work:
$contents =
eregi_replace("(\")(.(/))*[A-Z0-9_/-]+(.gif|.jpg)",
"\"blah.gif", $contents);
But this does not:
preg_match_all("(\")(.(/))*[A-Z0-9_/-]+(.gif|.jpg)",
$contents, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
echo "matched: ".$matches[0][$i]."\n"
}
I get
On Tue, 1 Oct 2002, DonPro wrote:
> Within my form, I have some checkbox objects. If I check them and submit my
> form, isset(variable) returns true. However, if I do not check them and
> submit my form, isset(variable) returns false.
> I am confused as I though that isset() returns true if the
First thanks a lot, but
I have the following code:
0){ Header("Location: file://c:/Test/company.html"); }
else { Header("Location: file://c:/Test/register.html"); }
?>
And I become an error message:
Warning: Cannot add header information - headers already sent by (output
started at C:\Program
Unknown modifier definitely has to do with the regular expression. Don't
regex's need a beginning and ending delimeter apart from the quote?
"/(\")(.(\/))*[A-Z0-9_\/-]+(.gif|.jpg)/"
Maybe that's it? But if so I dunno why the other one would be working.
-Kevin
- Original Message -
From
No takers?
Is this such a difficult problem?
Please help.
Henry
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi All,
>
> I have a problem that I hope you can help me with.
>
> I'm using a third party shopping cart solution which is quite frankly
n
what is on line 3?
is the
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 9:35 PM
Subject: Re: [PHP] Call HTML from php
> First thanks a lot, but
>
> I have the following code:
>
> $database="PH";
> mysql_connect(localhost,"test","test");
> @mysql_select_db($database);
> $query = "SEL
ob_start();
// your code..
ob_end_flush();
http://www.php.net/manual/en/ref.outcontrol.php
-Kevin
- Original Message -
From: "Anna Gyor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 2:35 PM
Subject: Re: [PHP] Call HTML from php
> First thanks a lot, but
Henry wrote:
>
> No takers?
>
> Is this such a difficult problem?
Sounds like greek to me... and I don't speak greek :l
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--
I started to respond to this but stopped becuase I didn't understand why you
needed to split into two data streams. Seems to me you can simply pass the
information onto sequential scripts either in the GET string using
header("Location:?") or POST with an open socket connection or Javascript.
I g
1 - 100 of 218 matches
Mail list logo