On Mon, 10 Sep 2001 16:41, Richard Kurth wrote:
> I am having a problem with searching through a file for a curtain
> text. Like the text below [EMAIL PROTECTED] does not exists in the file
> but when I run this it gives me a Match at line number.
> I need to run three or four names at a
What does phpinfo() think of it?
Search for sendmail_from, sendmail_path, SMTP under Configuration / PHP core
and see if the values are correct.
Simon.
> -Original Message-
> From: Badger [mailto:[EMAIL PROTECTED]]
> Sent: maandag 10 september 2001 9:24
> To: [EMAIL PROTECTED]
> Subje
Hi Richard,
First, I think it should be:
$variable = "[EMAIL PROTECTED]";
instead of:
> $line_text= "[EMAIL PROTECTED]";
as you overwrite $line_text with your fgets.
Also:
> if ($variable = trim($line_text)) {
Should be:
if ($variable == trim($line_text)) {
Otherwise you are do
Hello Jason,
Monday, September 10, 2001, 12:26:30 AM, you wrote:
>> I drowing here and need a life-ring! I have a site relying heavily on
>> e-mail registration, forums, etc. and mail() is broken in my php
>> install. I've been using an smtp server other than sendmail, but
>> based on recommen
maybe by adding a unique ID like that :
somethin/somewhere/index.php?do=this&and=that&IDop=someMD5id
then, keeping logs of the operations in a db table if the id already
exists in the table, nothing is done ...and maybe it's time to clean
parameters... then, the logs should be cleant every d
Hello Kelly,
Yes I noticed the variable after I sent the message
Now I have it like this. But If I add something that is in the file it
does not find it.
$fd = fopen ("virtusertable", "r");
$variable= "[EMAIL PROTECTED]";
$count = 1;
while(feof($fd) == false) {
$line_text = fgets(
Heloorghhh !!!
Well, try to make a script with :
then, look at the output to see where the error is
well, php's got to know which of the quotes means "end of string" an which
is a part of the string...
so, parts of the string must be backslashed in every function using it
when submit
I have a problem with sessions. My sessions work well except for one thing:
they keep getting broken from time to time. I have found no common thing
with these brokes so I'm quite lost with this problem. Any ideas?
It seems that all of the sessions brake at the same time. (I have a collegue
with
I installed Red Hat 7 as server and get Apache and Php installed with that.
I have connect from my new Linux box (with dbisqlc) to ASA 7 database what
is on one Windows server and thats works fine.
My Apache also works fine with Php only problem is when I try to use
odbc_connect() or some other od
On Mon, 10 Sep 2001 17:11, Badger wrote:
> Yes, running RH ditribution 7.1, PHP 4.0.6 compile from source, and
> sendmail 8.10.11.0.rpm (note that I would like to use my dmail smtp
> server and only installed sendmail to troublshoot this problem.
>
> here in my php build:
> --
"Jason Brooke" <[EMAIL PROTECTED]> schreef in bericht
02fc01c139c8$702aa550$0100a8c0@co3040297a">news:02fc01c139c8$702aa550$0100a8c0@co3040297a...
> > I upgraded from PHP 4.0.5 <> 4.0.6 and since i get openbasedir errors
all
> > over the place when i try to upload a file through a php script
> >
Hello David,
Monday, September 10, 2001, 1:02:37 AM, you wrote:
DR> On Mon, 10 Sep 2001 17:11, Badger wrote:
>> Yes, running RH ditribution 7.1, PHP 4.0.6 compile from source, and
>> sendmail 8.10.11.0.rpm (note that I would like to use my dmail smtp
>> server and only installed sendmail to tro
will this do?
$filename="newfile.txt"; / / sets file name
variable
touch("./directory/$filename"); / / creates file in
specified directory if it doesn't already exist
$fp=fopen("./directory/$filename","w"); / / opens file for writing
$write="what ever y
Richard,
I just put together a script using that code exactly, and it worked.
All I can say is make sure that what you are searching for is actually in
the file you are searching.
Remember that the string you are searching for needs to match the entire
contents of the line, not just a substring
WHA
-> for school lessons ???
let's think about it ...
- Original Message -
From: Sebastian Bergmann <[EMAIL PROTECTED]>
To: Ralph Guzman <[EMAIL PROTECTED]>
Cc: PHP Developer Mailing List <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 10:27 AM
Subject
> > Stefan, did you check your open_basedir and/or error_reporting settings
in
> > php.ini and apache config? What are the errors?
> >
> I did. No difference between the old php.ini and the new...the apache
config
> is also unchanged.
And the mentioned open basedir errors? What did they say?
>
check your connection string and if it something like mysql_pconnect change
it in mysql_connect
Stefan de Wal
"Pieter Philippaerts" <[EMAIL PROTECTED]> schreef in bericht
([EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Unfortunately, I can't access these settings. It's not our computer that
> ho
In head section of HTML page You can include meta tag like below:
http://domain.dot.com/loop.php";>
If loop. php contains that meta tag like it calls itself every 2 seconds.
Krzysztof Kocjan
Kostis Mentzelos wrote:
> Hi all,
> is it possible to create a table that automatically
> updates its
Hello Kelly,
Your right the script does work but my problem is this
the file I am searching looks like this below.
And if I search on [EMAIL PROTECTED] alone it does not find it but
if I search on [EMAIL PROTECTED] yourns it finds it. I need it
to find just the email address not the stuff after
Wow, that was a quick response! It's no wonder PHP kicks butt, when we have
geniuses like you in the development team.
I did not realize I sent it to the wrong list until after I had sent it. I
apologize.
I will try this now.
Thanks a Million.
-Original Message-
From: James Moore [mail
I don't think this is correct!
You can't do this:
list($a, $b) = variable!
which is the case in: list($key, list($tag, $data)) = each($array)
you can use: list($key, $value) = each($array)
"D" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am a newbie an
Hi
I compiled PHP_4.0.6 with LDAP support (openldap-2.0.12) without any
problems, but I can't connect to my locally
running LDAP-Server. The whole thing is running on a HP-UX11 box.
Here are my very simple two lines of code:
$ds=ldap_connect ("localhost");
print "connect result is ".$ds."";
Can sessions hold the $result resource of a mysql_query?
and the use that $result variable to fetch rows on other page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrat
Hi, what z wrong in this code??
>
\">view
source";
?>
>>>
I am getting the following error
Forbidden
You don't have permission to access /< on this server.
---
-
Fixed:
view
source";
?>
- seb
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 10:25
To: [EMAIL PROTECTED]
Subject: [PHP] hi
Hi, what z wrong in this code??
>
\">view
source";
?>
>>>
I
26,"b"=>25,"c"=>24,"d"=>23,
"e"=>22,"f"=>21,"g"=>20,"h"=>19,
"i"=>18,"j"=>17,"k"=>16,"l"=>15,
"m"=>14,"n"=>13,"o"=>12,"p"=>11,
"q"=>10,"r"=>9,"s"=>8,"t"=>7,
"u"=>6,"v"=>5,"w"=>4,"x"=>3,
"y"=>2,"z"=>1)
Sorry, my F outlook replaced '//' commentaries by 'file://' ... these
lines where for debugging, they can be deleted !!!
- Original Message -
From: nicolas costes <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 11:36 AM
Subject: Re: [PHP] Re: [PHP-DEV] Anag
[EMAIL PROTECTED] (Richard Lynch) writes:
> A "callback" is when you execute a function, and you provide to it a name of
> *another* function, which it will call on some data in the middle of its
> task.
>
> It's a very handy way to provide extreme flexibility in functional
> languages.
>
> For
Richard,
Then you need to use something like "explode()" to get only the part you
want.
e.g. If the file is delimited by spaces, then have something like this:
$fd = fopen ("virtusertable", "r");
$variable= "[EMAIL PROTECTED]";
$count = 1;
while(feof($fd) == false) {
$line_text = fgets(
It still won't work though.
(unless show_source is javascript, which I doubt)
You can't embed php in html like that. HTML is for client side, and they
aren't running php in their browser. Browsers generally support javascript
or vbscript ECMA style scripting on client side.
If you wanted to sh
> ... so make the two pieces the same file... have the script redirect to
> itself minus the parameters.
I did, but somehow it soesn't feel like an elegant way of doing things, with
that extra reloading and all. But it'll do. Thanks.
- jon
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
Just to throw in a curve-ball, IMHO, there is no point looking at
pre-built layouts and templates.
Why?
1. The end product will not look unique or different. It will look the
same as the other 5000 sites who found that same template. Worse still,
if your charging a client, they're payin
We have never used mysql_pconnect.
Regards,
Pieter Philippaerts
"Stefan De Wal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> check your connection string and if it something like mysql_pconnect
change
> it in mysql_connect
>
> Stefan de Wal
--
PHP Gener
I don't do site design for people, thats probley because i suck at design,
but i am good at the coding...just like apps, i suck with the GUI, which is
why i prefer to get some that are already done, or get them done, and i am a
poor bastard, so free ones(alot of them are just templates), are for m
and what about this one?
view source";?>
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 12:19 PM
Subject: RE: [PHP] hi
> It still won't work though.
> (unless show_source is javascript,
Please, help.
I write in httpd.conf:
AddType application/x-httpd-php .html
And see result in browser - browser get reply with content-type:
application/x-httpd-php and suggest to save it.
If I rename script to *.php and call it from browser it works Ok.
How and where can I explain httpd and a
9/10/2001
EMAIL PROCESSING COMPANY LOOKING FOR EMAIL PROCESSORS IMMEDIATELY, TO SUSTAIN
EXPLOSIVE GROWTH. EARN $2,000-$6,000
(PART-TIME) AND $5,000-$10,000 (FULL TIME) MONTHLY. FREE START-UP, NOT MLM,
NO EXPERIENCE NECESSARY. SEND AN EMAIL
TO [EMAIL PROTECTED] WITH SUBJECT: "SHOW ME".WE WANT
Hi,
I am generating a report in exel sheet.
For this i am planing to use exel as a data base.
can you send the statements to connect exel sheet as a database and
relate queries.
Thanks in advance.
Regards
Balaji
-
Try ODBC connection...
- Original Message -
From: "Balaji Ankem" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 1:00 PM
Subject: [PHP] How to connect Excel as a database from mysql
> Hi,
> I am generating a report in exel sheet.
> For this i am plani
nope. go with COM.
On Mon, 10 Sep 2001, Ing. Lalka Peter wrote:
> Try ODBC connection...
> - Original Message -
> From: "Balaji Ankem" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 10, 2001 1:00 PM
> Subject: [PHP] How to connect Excel as a database from mysql
Hi
Can anyone help me? I need to produce a random and uniques array using
numbersbetween 0 and 9. I tried to create a random array and them make it
unique.
for ($i = 0; $i<100; $i++){
$a[$i] = rand(0,9);
$test=$a[$i];
}
$ra = array_unique($test);
I keep getting an err
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Deirdre Mc Cann) wrote:
> for ($i = 0; $i<100; $i++){
> $a[$i] = rand(0,9);
> $test=$a[$i];
> }
>
> $ra = array_unique($test);
>
> I keep getting an error saying $test is the incorrect type. Can someone
> please explain why
Well you can't just have a link to this function. Make a page like so:
showsource.php
**
yourfile.php
**
view source";
?>
- seb
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 10:25
To: [EMA
and more practically your code get corrected to this:
for ($i = 0; $i<100; $i++)
{
$a[$i] = rand(0,9);
$test[]=$a[$i];
}
$ra = array_unique($test);
and your code get optimized to this: (mostly of the manual!;))
$numbers = range (0,9);
srand ((double)microtime()*100);
shuffle ($numbe
Im trying to figue out the following anagram using PHP. Here is the problem:
Using letters of the alphabet represented by a number, I have to come up
with words that add up to exactly 100.
Numbers are in reverse where A=26 and Z=1, so for example:
A B C...X Y Z
26 25 24..3 2 1
So let's s
I have no idea how anagrams work, but is it true as you say/imply:
"If the same of the characters of a string is same as the sum of other
characters in another string THEN the last is an anagram of the first?"
"Ralph Guzman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROT
Hi
I have a problem with the include command.I want to include a txt file in a php
file.But this txt file must include in every php file on the server and these phpfiles
are in different directories.
Here is the Problem :
www.domain.com/index2.php and www.domain.com/support/shop.php must includ
Boris,
Compiling with ODBC translates to linking with an ODBC Driver Manager.
An Open Source Driver Manager is iODBC - www.iodbc.org
There is also a HOWTO on the site for PHP compiling --with-iodbc.
You will still need a driver for your ASA, but it appears you have this.
Best regards,
Andrew Hi
Try use absolute path reference,
I can't see your problem!?
If you have this file:
/home/websitename/www/include/news.txt
whether you access it from /index2.php or /support/shop.php all the same!
You might also want to refer yourself to the "include_path" variable
configuration.
<[EMAIL PROTEC
Hi All,
I am trying to download php mauals. but I couldn't suceed as the server
is displaying the message
as "Server is Busy and try later". Even I tried by using the link
with port number.
Can anybody help me in downloading the manulas?
Regards,
Maria
--
PHP General Mailing List (http:/
Did you try to dload the manual from PHP site's mirrors?
"S.Maria Goretti20010808" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi All,
> I am trying to download php mauals. but I couldn't suceed as the server
> is displaying the message
> as "Server is
1. HTML file:
2. PHP file (file upload handler):
if ($myfile != "none") {
print "File uploaded:";
print "Name: ".$file_name;
print "Size: ".$file_size;
etcetc..
move_uploaded_file("/PATH/WHERE/YOU/WANT/THE/FILE/".basename($myfile_name);
}
these snipplets could be usefu
Sounds like you know exactly what you want to do :-)
1) Obtain a text file, csv or whatever of a dictionary (easy enough -
www.google.com).
2) Find the ascii values for a-z or A-Z, your choice.
3) Read in a word at a time.
4) Convert to upper or lower case to reflect part (2)
5) Create a sim
Hi there,
I am new to PHP and mySQL. I am a fairly quick learner and have set up a
script to add/modify/delete entries from a mySQL database and display them
in a table.
My first question is, where or how can I get information on how to only
allow certain people to add and then modify what they
I tried that code this morning :
26,"b"=>25,"c"=>24,"d"=>23,
"e"=>22,"f"=>21,"g"=>20,"h"=>19,
"i"=>18,"j"=>17,"k"=>16,"l"=>15,
"m"=>14,"n"=>13,"o"=>12,"p"=>11,
"q"=>10,"r"=>9,"s"=>8,"t"=>7,
"u"=>6,"v"=>5,"w"=>4,"x"=
We've been getting an error message when trying to call the mail()
function:
FATAL: emalloc(): Unable to allocate -5675919 bytes
Treating that large negative number as an unsigned integer makes that
just over 4 gigabytes, which the server blatantly doesn't have. But it
doesn't make sense for
> The session variables will remain set, but will it looks
> like my session gets lost every now and then if you want
> to see an example, go to http://northpointless.org/test.php
> and hit refresh several times. I cannot figure out what is happening.
Did you get this figured out? It lo
http://www.weberdev.com/
http://www.phpbuilder.com
http://www.zend.com
"Pete Lopez" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
>
> I am new to PHP and mySQL. I am a fairly quick learner and have set up a
> script to add/modify/delete entries fr
Hey gang I'm using a checkbox in a form that has its values dumped into a mysql
database. for some odd reason, the checkbox information is "lost"
It worked earlier so I'm guessing I introduced a typo someplace.
this is the code in the form. I figure if this looks ok to you all. I just need t
Anybody using the zend optimizer in a production environment?
Is Zend Cache worth the money?
thanks
Randy
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.268 / Virus Database: 140 - Release Date: 8/7/2001
--
PHP General Mai
Hi All!
I had to unsubscribe for a little while due to the volume but did want to
follow up on the Code Red catcher script. Anyone wanting a new copy of the
script, please email me directly. I made a gob of changes to the original
code, slimming it down some and improving the lookups just a bi
yes, you can popup a html form with target = _parent, like this:
First page:
1
2
".$opt."";
?>
add another opt
Popup page:
this should be work, i write it very fast, i don't test it, but this is a
start point :)
-
Federico
[EMAIL PROTECTED]
---
if you know the xml language, you notice that all tags that start with
my text
etc.
between wrote in message
[EMAIL PROTECTED]
> Hi,
>
> I am a newbie at this PHP thing and I have been working from information
> on the web and from books.
>
> I noticed that some start the PHP script with
Hello everyone,
Ran into a problem trying to get this to work. I have multiple names in a
mysql field (DCD_Access) that contains "name1, name2, name3, name4" and I
want read this information as an array so I can use these values to populate
a pull-down list using a while or foreach loop. Below is
B-,
I get 4-5 new ip's daily on each of my machines. It's ridiculous and I have
given up trying ot notify each of these machines that they have a problem.
-ccma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Why invent the wheel twice, this has been around since the first day
code red was discovered.. See code-red.php
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 10 september 2001 16:22
To: [EMAIL PROTECTED]
Subject: [PHP] Code Red Catcher
Hi All!
I had
I am trying to figure out how to use PHP to redirect the user to a new
location *after* processing and most likely outputting a bunch of code.
Because this redirection would happen late in the game I can't use
header("Location: ".$redirect_to);
I come from a ColdFusion background and am used to C
Andrew,
I am in a similar position witha Lasso site, which I am considering php-ing.
I need to do conditional redirects.
George P, Edinburgh
- Original Message -
From: "Andrew Penniman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 3:37 PM
Subject: [PHP] P
Hello All
I am using ASP on IIS4, and interested in PHP. I would like to know that
if I install PHP on IIS4, can I still use ASP as well?
Thank you.
Pong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Hi,
If you put ob_start(); at the top of the page you can use header() anywhere
you want.
HTH,
Jord
On Monday 10 September 2001 10:18, you wrote:
> Andrew,
>
> I am in a similar position witha Lasso site, which I am considering
> php-ing. I need to do conditional redirects.
>
> George P, Edinb
you won't want to, but yes...
-Original Message-
From: pong-TC [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and IIS4
Hello All
I am using ASP on IIS4, and interested in PHP. I would like to know that
if I install PHP on
But isn't it about gzip formate? Will I be able to make it .zip
extension? will windows users be able to unpack my files?
Youri
> http://php.net/zlib
>
> --
> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> Wanna help me out? Like Music? Buy a CD:
> htt
>I am not asking for any one-on-one help here(I realize most of you have
>lives and dont have the time for that, although I would most certainly
>appreciate it,
Forget it, to much fun to figure it our yourself. :-)
> Any links or references you could provide would be
>MOST helpful. Also any
[EMAIL PROTECTED] (George Pitcher) writes:
> Andrew,
>
> I am in a similar position witha Lasso site, which I am considering php-ing.
> I need to do conditional redirects.
>
> George P, Edinburgh
>
> - Original Message -
> From: "Andrew Penniman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTE
Yes, it will. But try not to mix and match.
George
- Original Message -
From: "pong-TC" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 3:53 PM
Subject: [PHP] PHP and IIS4
> Hello All
>
> I am using ASP on IIS4, and interested in PHP. I would like to know
zip support in php is read-only.
but keep in mind that zip is not simply a compressed file, is a compressed
archive, like .tar.gz or .tar.bz2
you can use zlib for gzip files or bzip2 for bzip2 files...
if you need absolutely a zip file format you need to pipe it to a program
like the unix progra
Right off the top of my head, you have three options that I can see:
(1) Rewrite the code to avoid any output before the redirect.
(2) Use output buffering (available only in PHP4). I haven't used
this, but check out
http://www.php.net/manual/en/ref.outcontrol.php
(3) Use a META REFRE
> Right off the top of my head, you have three options that I can see:
>
> (1) Rewrite the code to avoid any output before the redirect.
I'd recommend this one myself
jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
As others have mentioned, output buffering is
what you want to look at.
I've been doing some minor research on CF the past couple weeks,
and it seems that CF, by default, always has output buffering on. While
it's great for allowing redirects/header info to be pushed out wherever
in a script,
on 9/6/01 11:52 PM, [EMAIL PROTECTED] went and wrote:
> I'll show you what I did but realize I'm an advanced beginner/intermediate
> programmer. This may not be the most efficient way to do it but seems to
> be the simplest code compared to other ways of doing it that I've seen. Not
> sure if I w
Hi,
I am trying to use value of the text box for the querying ..The
query is defined with in the a javaScript .
I am not able to get the Value.. inside the function.. However
"document.form.text.value" is getting the value.
How do we assign the value of javscript to PHP??? Is there a better
No. It may be remotely possible (with a gross hack) for persistent
connections, but in general, resources are disposed of after every request,
so resource Ids are meaningless across pages.
i doubt that the session manager would let you store a resource anyway...
_lallous <[EMAIL PROTECTED]> wrot
Hi all,
After a bit of testing, I've noticed, that the $HTTP_SESSION_VARS array
isn't as global as the manual makes it. The following piece of code should
produce 2 blank lines and a "click here" link the first time it's loaded.
When you click on the link, I would expect two lines saying "som
Hi again, Everyone:
I didn't expect such a response so quickly. With your indulgence, I'll
quote the code in this message. I just found out that Outlook (which is
what I'm forced to use at Volvo) won't attach .ida files and I *think* this
list strips attachments in any case.
I don't remember o
> -Original Message-
> From: Deirdre Mc Cann [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 6:30 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Unique Array
>
>
> Can anyone help me? I need to produce a random and uniques
> array using numbers between 0 and 9. I tried to cr
Hello,
Is there a function to convert a string so it is a valid string of text
for a SQL query? AN example would be a string of text that has ' in it
would be converted to \'
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAI
[EMAIL PROTECTED] writes:
>Yes, it will. But try not to mix and match.
Can you explain more about this? I would like to know more about the
impact of having and using ASP and PHP together.
Thank you.
Pong
>
>
>George
>- Original Message -
>From: "pong-TC" <[EMAIL PROTECTED]>
>To: <[EMA
Hello,
Sorry to bother everyone. I was just wondering if php runs on NT?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Yep, check here, http://www.php.net/downloads.php and look under Win32.
Alistair
"Jeremy Morano" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> Sorry to bother everyone. I was just wondering if php runs on NT?
--
PHP General Mailing List (http://
Use AddSlashes;
string addslashes (string str)
This will add slashes to all characters that require them for SQL queries.
Alistair
"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
00b401c13a12$fde59b30$0a00a8c0@webintel">news:00b401c13a12$fde59b30$0a00a8c0@webintel...
> Hello,
>
> Is ther
> Is there a function to convert a string so it is a valid string of text
> for a SQL query? AN example would be a string of text that has ' in it
> would be converted to \'
http://www.php.net/manual/en/function.addslashes.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Hi,
I'm having a bit of a hard time passing in a constant to a user-defined
function.
the calling page - index.php:
define_foo.php:
$titleblock";
if (is_null($result)) break;
//iterate through array, outputting info based on value type
if ($value != "bar")
{
while (list ($t
$corrected_string=addslashes($string_to_correct)
I think this function does it...
or maybe :
$corrected_string=ereg_replace("/'/","\'",$string_to_correct) >(i'm
not sure of the syntax).
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
-
I don't think that will be a problem : try zend.com 'apache + php4' > go
and see http://zend.com
Anyone tried under NT ???
I won't say : 'try Linux'
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
- Original Message -
From: Jeremy Mora
> I'm having a bit of a hard time passing in a constant to a user-defined
> function.
>
> the calling page - index.php:
>
> include define_foo.php;
> function_foo(bar);
^
should be:
foo("bar");
[snip]
> function foo($value)
> {
> global $value, $page_id, $usr, $pass, $database, $host;
At 08:11 AM 9/10/01 -0700, Steve Edberg wrote:
>Right off the top of my head, you have three options that I can see:
>(3) Use a META REFRESH tag. For example:
>
>
>
>where 1 is the time (in seconds) before you want the redirect, and 'page.php' is
>where you want the redirect to. Of cours
On Tue, 11 Sep 2001, Jason Brooke wrote:
> > Right off the top of my head, you have three options that I can see:
> >
> > (1) Rewrite the code to avoid any output before the redirect.
>
> I'd recommend this one myself
Me too, I can't think of a valid reason to use a Location header while
hav
I learn something every day, here :)
According to my McGraw-Hill HTML Programmer's Reference [please, no
messages about HTML not being 'programming'!], the META tag _should_
only occur in the container. Of course, we all know how
closely browsers adhere to the HTML specs ;P
-steve
The Steve Edberg (option #2) and Michael Kimsal suggestions to use
ob_start() output buffering work like a charm. Thanks so much! I would
have been a long time coming before I mad this connection on my own.
Guess I need to hone my archive querying skills...
I think it would be _really_ swell if
Good to hear. How's fusebox working for you?
Andrew Penniman wrote:
>The Steve Edberg (option #2) and Michael Kimsal suggestions to use
>ob_start() output buffering work like a charm. Thanks so much! I would
>have been a long time coming before I mad this connection on my own.
>Guess I need
1 - 100 of 175 matches
Mail list logo