Andrew,
Thanks for the help! It worked!
:)
Gee, how happy I am, now I get to work on the unlink file portion, and
confirmation texts :)
THANKS!
Sean
On 4/12/01 6:25 AM, "Andrew Rush" <[EMAIL PROTECTED]> wrote:
> on 4/12/01 7:32 AM, g0thic at [EMAIL PROTECTED] wrote:
>
>> copy($f_loc
"Fred" <[EMAIL PROTECTED]> wrote:
> I want to log into a game and access a page and parse it.
> To Log into the game, youd have to use a form, so how do I do this in PHP?
Using CURL functions you can post to a URL and grab the output. You have to
compile PHP --with-curl after installing CURL fir
Thank you, ill look into fsocks at php.net.
~Fred
"Steve Werby" <[EMAIL PROTECTED]> wrote in message
096501c0d1dd$d324dd40$6501a8c0@workstation7">news:096501c0d1dd$d324dd40$6501a8c0@workstation7...
> "Fred" <[EMAIL PROTECTED]> wrote:
> > I want to log into a game and access a page and parse it.
If you were replacing an earlier version of php, your registry should
already have contained the correct stuff - did you change anything?
What does ka-BOom actually mean in terms of error messages etc?
>From the command line, change to the folder containing php.exe, type
php.exe -i and see if yo
i was gonna die until u came along, at least you have
given me some hope. i'm not able 2 eat since this
happened.
anyway,
> already have contained the correct stuff - did you
> change anything?
yes, because the earlier php were in very different
folders..i had a pretty pretty early version of PH
If you want to cheat, I would create the html doc, then use one of the many
HTML -> PDF converters out there. Of course you could also create the PDF by
hand, there is a module for that
On Tuesday 25 September 2001 08:19, you wrote:
> I'm having some trouble putting on a formatting to printer
what do you mean "cheat"??? I want the best solution possible...
I don't want a bomb in my hands that will work for 100 orders but will
crash and make the printer crazy with 10.000 orders...
If I converted the html doc to PDF would it be as perfect as if I produced
a PDF directly from PHP dinam
Try to add the following line above all code:
clearstatcache();
This clears the status from previous is_dir()'s.
Good luck,
Joakim
> -Original Message-
> From: Dean Dunn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 22, 2002 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Help
Hi Ron,
Look at the mysql_list_tables function, it looks like it will provide what
you are are looking for.
http://www.php.net/manual/en/function.mysql-list-tables.php is the link to
the manual
Jason
-Original Message-
From: Ron Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February
On Tuesday, March 5, 2002, at 02:25 PM, Henry Zambrano wrote:
> Hi, I'm trying to do a script for changing the Linux password of an
> user in a web page. I don't know how to implement the command "passwd"
> in a php script or to do a shell script which would be invoked by the
> php script.
# passwd -?
Usage: passwd [OPTION...]
<...>
--stdin read new tokens from stdin (root only)
<...>
bvr.
Henry Zambrano wrote:
> Hi, I'm trying to do a script for changing the Linux password of an
> user in a web page. I don't know how to implement the command
> "passwd" in a
um - pray
which OS and web server are you running?
-Original Message-
From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:33 PM
To: PHP General
Subject: [PHP] Help I killed PHP on mysever...
I have done something stupid and not PHP won't work. Everytime y
SuSE 7.3(linux) Apache.
on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote:
> um - pray
>
> which OS and web server are you running?
>
> -Original Message-
> From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 4:33 PM
> To: PHP General
> Subject:
On Tue, 9 Apr 2002, Chuck "PUP" Payne wrote:
> I have done something stupid and not PHP won't work. Everytime you click on
> a link that is .php it wants you to download the file. What have I done and
> how can I fix it.
Are you running Apache? Maybe you commented out or deleted this line in
yo
Refer to my earlier post about your AddType entries.. If they are not there,
before you add them, check for a file on your system called mod_php4.conf..
If you find it, it will have the required entries in it already.. If this is
the case, make sure your modules section in httpd.conf is configured
You know I can't find mod_php4.c where should that be?
on 4/9/02 2:51 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED]
wrote:
> Refer to my earlier post about your AddType entries.. If they are not there,
> before you add them, check for a file on your system called mod_php4.conf..
> If you find it, i
On Tue, 9 Apr 2002, Chuck "PUP" Payne wrote:
> I have done something stupid and not PHP won't work. Everytime you
> click on a link that is .php it wants you to download the file. What
> have I done and how can I fix it.
This happens when you recompile and reinstall php as a module
No, I have reinstall. So much I about to throw my box. PHP just wont load
now everything I have work now it lost.
Chuck
on 4/9/02 3:28 AM, Mika Tuupola at [EMAIL PROTECTED] wrote:
> On Tue, 9 Apr 2002, Chuck "PUP" Payne wrote:
>
>> I have done something stupid and not PHP won't work. Everytime
"PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 8:31 AM
To: Mika Tuupola
Cc: PHP General
Subject: Re: [PHP] Help I killed PHP on mysever...
No, I have reinstall. So much I about to throw my box. PHP just wont load
now everything I have work now it lost.
Chuck
on 4
/landonize.it/
> Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/
>
> -Original Message-
> From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 8:31 AM
> To: Mika Tuupola
> Cc: PHP General
> Subje
I dont think transparent PNG's are possible with GD
Maybe v2.0 will have something?
olinux
--- Cam <[EMAIL PROTECTED]> wrote:
> I've got PHP 4.2 and what I believe to be the newest
> version of the GD
> library up and running.. For some reason, my PNG
> images do not preserve
> their transpa
If your list looks like this:
"
Salo, Mika
Räikkönen, Kimi
Häkkinen, Mika
"
And there is no other commas in the list, you can do it something like
this:
I think that'll do. I didn't test it thou.. :)
Niklas
-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: 27. k
fclose($filename);
?>
Thanks again,
J
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 10:06 PM
To: Php-General
Subject: RE: [PHP] Help and advice sought - search/replace
If your list looks like this:
"
Salo, Mika
Räikkönen, Kimi
Dear Mr News:
On Fri, Jun 28, 2002 at 12:41:56PM -0700, news.php.net wrote:
> I'd like to add all values for $purchase_price that are returned,
> how do I do this?
>
> $result = mysql_query("SELECT purchase_price FROM assets where
> order_number='$order_number' ORDER BY $desc");
$total = 0;
>
The way out is to write standards compliant markup (meaning 'good'
HTML). Read the RFCs, use a validator, Sablotron will stop complaining.
(eg: ) <- (note method to close an image
tag)
..mike..
On Mon, 2002-07-08 at 16:52, Markas wrote:
> Sablotron seems not to like, when in my xsl file occurs
But how with the case when I need xml like tag for some reason, but which in
fact is NOT an xml/html tag, and generally the output doc is not xml/html
document. but I just need this constructtion <...> or any of these
symbols???
Or you mean that XSL is only capable of generating another (and the o
>
>To test a new php installation I accessed a page called index.php that
>contains only
Perhaps you want to:
Not sure if anything else should produce errors..
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Presumably, each item in the catalog has a unique id of some sort in
the database. When you upload the images, you can rename the image
file to image_(unique_id).jpg. Then when you load a page, you can
reference the item next to the image.
This is only one way to do it, of course. You could a
Yes, I do reference the image filename in the database.. regardless of where
I save it. That is not the issue.
The problem is that I can not save the image in a location where I can
access it via a URL (ie. http://www.mydom.com/images/myimage.jpg). If I
could then there would be no problem. B
You can also open a socket and put the files up via ftp. I use this
method frequently when I cannot move the uploaded files.
use the fopen("ftp://user:[EMAIL PROTECTED]/path/to/images","w";)
command to place the files.
This doesn't work so well if the file already exists, so you have to
dele
11, 2001 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Help creating an image repository/library.
Yes, I do reference the image filename in the database.. regardless of
where
I save it. That is not the issue.
The problem is that I can not save the image in a location where I can
access it via
lto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help creating an image repository/library.
>
>
> Yes, I do reference the image filename in the database.. regardless of
> where
> I save it. That is not the issue.
r 12, 2001 11:24 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Help creating an image repository/library.
That would be an ideal solution. But one of my problems is that I'm not
very familiar with permission settings. All I know about is CHMOD.
What
exactly is CHOWN and how w
At 01:53 AM 12/21/2001 +1100, Tomasz Jachimczak wrote:
>I am retreiving user information from a database after verification, and
>would like to place certain feilds into a session variable for easy
>access/retreival. I can get the information out of the database, but cannot
>place it into any sort
I don't know if this is it, but you may:
1. Replace
print("returnwin=window.opener.navigate(urlLoc);\n");
with
print("window.opener.location='urlLoc';\n");
2. Try opening the pop-up widow with Netscape allowing the location input box to
appear, click on "Close e Update" and, if it doesn'
Addressed to: andrew <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from andrew <[EMAIL PROTECTED]> Sat, 03 Mar 2001 14:26:30 -0500
>
> help! :)>
>
> I'm trying to return a list of links under associated categories from a
> database table that has the fields: "linkID, catego
Because I want to display it like this:
category1 (href anchor to category1 below)
category2
category3
category1
link1
link2
link3
category2
link1
etc...
On 3/3/01 2:49 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Addressed to: andrew <[EMAIL PROTECTED]>
>
andrew wrote:
>
> Because I want to display it like this:
>
> category1 (href anchor to category1 below)
> category2
> category3
>
> category1
> link1
> link2
> link3
>
> category2
> link1
> etc...
>
Hello,
Ever heard of mysql_data_seek()? Have a look in the PHP Docs.
mail-disclaimer.html
> -Original Message-
> From: andrew [mailto:[EMAIL PROTECTED]]
> Sent: 03 March 2001 19:59
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] help gurus: multi-dimensional array problem.
>
>
> Because I want to display it like
Tim Ward wrote:
>
> Get a list of unique categories then get a list of each one would do it.
>
> $link_id = mysql_connect($host, $usr, $pass) or die (mysql_error());
> mysql_select_db($database, $link_id);
> $sql="select distinct category from links";
> $result
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Yev) wrote:
> So, it sees $name="field[text][email]", and attempts to retrieve the
> value, so in essense $HTTP_GET_VARS[$name] should return
> "[EMAIL PROTECTED]", but it doesn't work..
> However, if i try to access $HTTP_GET_VARS[field][text
Excel can import tab-delimited (or CSV) files pretty darn easy...
And you can spew those out very easily...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
-
I have had this problem with exec, passthru with that configuration
aswell...
To read the files into an array, do this:
(http://www.php.net/manual/en/function.opendir.php)
";
}
?>
// Tobias
"SHAWN" <[EMAIL PROTECTED]> wrote in message
D1FF6C0809A9D411815D0050DA841BCC3EE5@ONSITESERVER">news:D1F
On Mon, 2 Jul 2001 12:55:32 -0700 (PDT), John Holcomb
([EMAIL PROTECTED]) wrote:
>The company that houses our servers only has php 3.0
>installed. I need a function that can unzip files.
>Are there any methods(functions) that can handle this
>in php3.0 or any version of php that's before php 4.0
On Tue, 3 Jul 2001 09:54, Christian Dechery wrote:
> I have to get some results from a mysql table, and I'm pretty sure that
> I'm not doing it the best way.
>
> its like this... I have a table (a historical one) with these fields:
> date | item_id | item_type_id | qty | value
>
> and there are m
onday, July 02, 2001 9:41 PM
To: Christian Dechery; [EMAIL PROTECTED]
Subject: Re: [PHP] help in getting results from mysql
On Tue, 3 Jul 2001 09:54, Christian Dechery wrote:
> I have to get some results from a mysql table, and I'm pretty sure
> that I'm not doing it the bes
well... I tought of that.
It doesn't work for many reasons:
1 - '*' always has to be the first on the select list
2 - you can't have expressions (max, min, avg) without a group by clause
if you are handling multiple rows
3 - etc. etc.. etc...
that's why I included the code in between the queries.
On Wed, 4 Jul 2001 00:00, Christian Dechery wrote:
> well... I tought of that.
> It doesn't work for many reasons:
> 1 - '*' always has to be the first on the select list
> 2 - you can't have expressions (max, min, avg) without a group by
> clause if you are handling multiple rows
> 3 - etc. etc.
At 12:07 4/7/2001 +0930, David Robley wrote:
>On Wed, 4 Jul 2001 00:00, Christian Dechery wrote:
> > well... I tought of that.
> > It doesn't work for many reasons:
> > 1 - '*' always has to be the first on the select list
> > 2 - you can't have expressions (max, min, avg) without a group by
> >
escape the double quotes around the href... with \"
PHP thinks youe are ending the echo string prematurely.
-Original Message-
From: Steve Wright [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 11:13 AM
To: PHP List
Subject: [PHP] HELP!! What wrong with this code...
Hey, i am g
You need to put backslashes before your quotes in your echo statement. Like
this:
echo "Your feedback has been sent to mailto:$address\";>$name";
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Steve Wright
You have received a number of responses on this. Here is another.
When assigning text or html in a variable (or for echo) it is generallly a good
idea to use single quotes and exit for variable insertion. That way you don't
have to worry about missing one or two errant HTML wuotes.
For example
At 01:35 PM 4/17/2001, Michael Leone wrote:
whats the problem taht you having?
>I am trying to write a Registration form that send an email to a specific
>address.
>The source to the page is at http://www.probesnj.org/etownreg.txt
>Its 400 lines long and I probably just spelled something wrong
At 01:44 PM 4/17/2001, Michael Leone wrote:
double check ALL of your for loops as well as any place that you may have
used a curly bracket.
~kurth
>Im getting this pesky parse error at line 392 which is the last line of
>the document.
>At 01:40 PM 4/17/2001 -0400, you wrote:
>>At 01:35 PM 4/1
A couple of things:
1. ASP is not dumb. It was just written by Microsoft. Seriously, though
I'd learn both, it would make you much more marketable.
2. First off, create the database. Then ask yourself what are the steps
that you have to go through. What your probably looking at right now
On Friday 21 September 2001 16:27, you wrote:
> Does anyone know what is going wrong, when all of a sudden, the
> content of PHP global variables that are generated from a POSTED
> form, have a CR/LF prepended?
It happens to me when I'm using Konqueror and multipart/form-data
enctype in forms (be
Dear Adam,
Are you using 'realm' authentication setup?
with regards
Sukumar .S
On Tue, 29 Jan 2002, Adam wrote:
> Date: Tue, 29 Jan 2002 14:47:42 -0600
> From: Adam <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [PHP] Help! (How are sessions intended to work?)
>
> My Setup Specs
>
Sukumar S. wrote:
> Dear Adam,
>
> Are you using 'realm' authentication setup?
Yes I am.. any ideas?
>>My Setup Specs
>>--
>>
>>PHP 4.1.1, MySQL 3.23.36, & Apache 1.3.19 with mod_auth_mysql on OpenBSD
>>3.0 (OS).
>>
>>Issue
>>-
>>
>>Scenerio: User provides user_id and pas
looks like there's a problem with this line:
test link
try using this line instead:
">test
link
looks like you were missing the end quotes and closing "bracket" of the
anchor tag
See how that goes
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
TECTED]]
Sent: Wednesday, 20 February 2002 10:38
To: 'WG4- Cook, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
looks like there's a problem with this line:
test link
try using this line instead:
">test
link
looks like you w
; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
Ok - I changed it to
">test link
First login page now has
" <http://147.76.130.12/dms/demo/welcome.php3?dbcnxid= >test
linkthen the login stuff,
and I still don't get the value through
Janet
;WG4- Cook, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
that makes me think that your page isn't being executed through php. why
this is happening, i don't know - maybe a misconfigured web server
Martin
-Original Message-
From: WG4- Cook, Janet
ble to help you.
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 1:18 PM
To: Martin Towell; WG4- Cook, Janet; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
That's not a lot of help - its a new installati
change:
test link
to:
>test link
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 5:30 PM
To: PHP List
Subject: [PHP] Help for passing variable to all pages
Hi All,
I am new to PHP and learning as I go by reading many of the tutoria
>
>
>test link
>
You can't pass resource types like database connection IDs in URLs as
they are only relevant for the instance of the script in which they are
created. The same goes for things like file identifiers (from fopen) and
other stuff like that.
Simon
--
PHP General Mailing List (
--
> From: Martin Towell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 20 February 2002 10:59
> To: 'WG4- Cook, Janet'; PHP List
> Subject: RE: [PHP] Help for passing variable to all pages
>
>
>
> that makes me think that your page isn't being executed through
PROTECTED]]
Sent: Thursday, 21 February 2002 2:04
To: 'WG4- Cook, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
change:
test link
to:
>test link
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 20
002 2:37
To: Rick Emery
Cc: 'WG4- Cook, Janet'; PHP List
Subject: Re: [PHP] Help for passing variable to all pages
>
>
>test link
>
You can't pass resource types like database connection IDs in URLs as
they are only relevant for the instance of the script in which they
Call session_start() on your second page...
---John Holmes...
- Original Message -
From: "Daevid Vincent" <[EMAIL PROTECTED]>
To: "PHP general mailing list" <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 3:10 PM
Subject: [PHP] Help with example session class (second request)
> Sorry
include("../globalassets/include/header.phtml");
?>
And I get this error:
Fatal error: Call to a member function on a non-object in content.phtml
on line 4
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2
> include("../globalassets/include/header.phtml");
> ?>
>
> And I get this error:
>
> Fatal error: Call to a member function on a non-object in content.phtml
> on line 4
>
> > -Original Message-
> > From: 1LT John W. Holmes [mailto:[EMAIL PROTEC
ist'
> Cc: '1LT John W. Holmes'
> Subject: RE: [PHP] Help with example session class (second request)
>
> Thank you john for the prompt reply, however I must be completely
> retarded. I do this:
>
>session_start();
>
> if( $login->ge
Maybe you should just ask your question in Spanish, because I have no
idea what you just asked... Does it just not work?
---John Holmes...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 01, 2002 2:34 PM
> To: [EMAIL PROTECTED]
> Subject:
[EMAIL PROTECTED] writes:
>So far I've found about five different ways to install PHP with PWS and
>none of them work. Can anyone who has done this please send detailed
>instructions about how to do it, or point me to instructions that work?
>
>Thanks very much in advance.
>
any error msgs? it'll
"Brian Feliciano" <[EMAIL PROTECTED]> writes:
>>So far I've found about five different ways to install PHP with PWS and
>>none of them work. Can anyone who has done this please send detailed
>>instructions about how to do it, or point me to instructions that work?
> any error msgs? it'll help a
> -Original Message-
> From: Lic. Carlos A. Triana Torres [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 01, 2001 4:25 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Help with an error I can't find!
>
>
> Can some one help fix this error?
>
> Warning: Variable passed to each() is n
Paulo,
My advice is to forgo RPMs and build the darn thing by hand.
It's really quite easy - check out the Unix install instructions here:
http://www.php.net/manual/en/install.unix.php
I don't have specific UnixODBC docs, but iODBC should enable you to use any
ODBC driver with it (iODBC is a dri
$val)
echo "{$but[$pos]} ";
?>
or better.
http://slashdot.org';
$link['adcritic'] = 'http://www.adcritic.com';
$link['php.net'] = 'http://www.php.net';
foreach($link as $pos => $val)
echo "$pos ";
?>
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250
They probably didn't build jpeg support into their gd library.
On Thu, 1 Mar 2001, Cherie Benoit wrote:
> I can't create or manipulate jpegs, but pngs work fine. I am using a hosting
> service. They installed GD 1.8.4 with jpeg support a few days ago, but I'm
> thinking they did it wrong. I'm us
On Friday 02 March 2001 06:46, you wrote:
> I can't create or manipulate jpegs, but pngs work fine. I am using a
> hosting service. They installed GD 1.8.4 with jpeg support a few days
> ago, but I'm thinking they did it wrong. I'm using code I know works
> because it's straight out of the PHP Coo
> Depends on what errors you get. "I can't create or manipulate jpegs"
> isn't particularly helpful...
OK, it returns a broken image and when I download that the resulting file
reads "ImageJpeg: No JPG support in this PHP build". But tech support says
they installed the jpeg support and that they
> function downloadfile($url, $imageDir)
> {
> if(!$file = fopen($url , "r"))
>{
> echo ("couldn't open $url\n");
>}
> else
>{
> #fpassthru($file);
> if($file2 = fopen("/www/sinead/images/Full/Sinead200.jpg", "w"))
> {
> $content=fread($file, filesize("$file
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Team JUMP) wrote:
>$num=count($bannedwords);
> for($i=0;$i<$num-1;$i++)
> {
> $string =
> eregi_replace("\b$bannedwords[$i]\b","[censored]",$string);
> }
>
>
> For whatever reason, no wor
Thanks for your help. Unfortunately, [:space:]$bannedwords[$i][:space:]
would not work, since I need to also check for the first and last word. In
a last-case scenario I could write special code for the first and last word,
but that may get ugly with bug-checking... but I've already tried
"\s+$b
ng."";
// test the end word and exchange
reset($bannedwords);
foreach ($bannedwords as $word) {
$string = eregi_replace("{$word}$","[censored]",$string);
}
echo $string."";
echo $dot."";
echo $hasdot;
?>
- Original Message -
From: Team
ntax is right.
Thanks for your help, though.
--Neal
---
did it work?
- Original Message -
From: Team JUMP <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 20, 2001 12:35 PM
Subject: Re: [PHP] Help w/ regular expressions for banned words
T
I just installed mySQL yesterday from mysql.com (or .net or whatever it
was). It installed fine, there was a note about what to do if you didn't
install it to c:\mysql properly - I installed mine to a different directory,
followed the instructions and all went fine. Might be one place to start.
H
But i installed it to the default c:\mysql.
How can I set a username and such to allow me to use it on my cpu?
- Original Message -
From: "Jason Bouwmeester" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 4:12 PM
Subject:
Have you started the server? If not go to the command prompt and:
1. cd c:\mysql\bin (assuming this is where it was installed.
2. type mqsqld-opt (optimized for pentium class PC)
That should start the server.
If you need more help let me know.
- Shane
- Original Message -
From: "Chris"
Sent: Friday, January 26, 2001 10:29 PM
Subject: Re: [PHP] Help Please, MySQL is driving me insane
> But i installed it to the default c:\mysql.
> How can I set a username and such to allow me to use it on my cpu?
> - Original Message -
> From: "Jason Bouwmeester&qu
Ummm try going into c:\mysql\bin and running winmysqladmin.exe or
MySqlManager.exe - I can't remember which one I ran.
HTH,
jb
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 8:29 PM
To: Jason Bouwmeester; PHP
Subject: Re: [PHP] Help P
Ahh, thank you everyone...now I just have to figure this beast out
- Original Message -
From: "Jason Bouwmeester" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 4:23 PM
Subject: RE: [PHP] Help Please, MySQL is driving me
Are the functions declared in an include()'d file? Is this file being
include()'d more than once? That's how I usually provoke this error :)
Kirk
> -Original Message-
> From: Jack Sasportas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 15, 2001 1:25 PM
> To: php
> Subject: [PHP] Hel
I thought it will say, which function it can not redeclare.
How many functions you have in the file?
If it is small number, you could comment out each function and see which
one is casuing the problem.
Jack Sasportas wrote:
> I just finished coding everything on a project it was working (all
>
> To: php
> Subject: RE: [PHP] Help! Can't redeclare already declared function in
>
>
> Are the functions declared in an include()'d file? Is this file being
> include()'d more than once? That's how I usually provoke this error :)
>
> Kirk
>
> &g
> -Original Message-
> > From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 15, 2001 3:29 PM
> > To: php
> > Subject: RE: [PHP] Help! Can't redeclare already declared function in
> >
> >
> > Are the functions declared in an inclu
Uh, if it is not a POST or a GET, what is it? There must be some HTTP
primitive or it isn't HTTP at all.
-Rasmus
On Mon, 19 Mar 2001, Fabian Raygosa wrote:
> A site is trying to send our website a xml file. Unfortunately it is not
> being sent through POST or GET. Using tools that the other si
t;[EMAIL PROTECTED]>
To: "Fabian Raygosa" <[EMAIL PROTECTED]>
Cc: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 4:10 PM
Subject: Re: [PHP] (HELP) Reading a file sent through HTTP
> Uh, if it is not a POST or a GET, wh
> It's coming in as a binary file, as i mentioned before in some examples,
How? Via what? It must be either a POST or a PUT if perl can read it.
Chances are the data will be in $HTTP_RAW_POST_DATA
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
al@Lists. Php. Net" <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 4:10 PM
Subject: Re: [PHP] (HELP) Reading a file sent through HTTP
> Uh, if it is not a POST or a GET, what is it? There must be some HTTP
> primitive or it isn't HTTP at all.
>
> -Rasmus
>
> On
401 - 500 of 565 matches
Mail list logo