>
-J
On Sat, 15 Jun 2002 04:53:11 +1200, Dan McCullough wrote:
> I'm trying to evaluate form submissions. When I return a form
> submission cause of a missing field I want the radio and checkboxes to
> reflect what the client submitted. So if somone forgets to fill in
> their address, but has
If you use fulltext search (assuming you are using MySQL), it deals with stop
words on its own as well as some additional search logic.
http://www.mysql.com/doc/F/u/Fulltext_Search.html
-J
On Sat, 15 Jun 2002 10:19:04 +1200, Ed Lazor wrote:
> Does anyone have a good function for parsing a sear
Hi
I would suggest you use a DB for the logins
and use the id
Avoid using cookies use sessions that way u have nothing
on the client end
Pradeep
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 15, 2002 10:39 AM
Subjec
Hello Leif,
My opinion is
1.First do md5 encoding for passwords.
2.Store the username and encoded passwords in database as well as in two
cookies.
Note:But storing the passwords in a cookie is a security issue.
regards,
SenthilVelavan.P,
KovaiTeam Softwares.
- Origin
I have a site with logins. I am planning to recode logins soon (right
now the username and password are stored in cookies with no encoding).
In your opinion, which of these is a better idea:
1. Storing in two cookies with md5 encoding for the password
2. Use sessions
3. Store logins in a datab
This depends on what you mean by "right," of course, but remember that
the referer (sic) is just a string. You can use any string manupulation
functions to help you test your string, such as searching for
substrings, matching patterns with regular expressions, etc.
If you need more specific ad
I'm not sure what sysadmins you are talking about, but /tmp is typically
a world-writable directory.
Also, there is no such "strict" Unix naming convention. The directory
/tmp is always /tmp, so matter how "lenient" you want to be. There is
simply a difference between relative paths and absolu
Hello Devin,
Please download chat application from
http://sourceforge.net/projects/phpmychat
I have tried this it's so simple and easy.Let me know if you have any
problem.
regards,
SenthilVellan.P,
KovaiTeam Softwares.
- Original Message -
From: "Devin Atencio" <[EMAIL PR
I was referring to strict Unix directory naming conventions. /tmp is the
equivalent of root/tmp and no sysadmin wants you writing to his /tmp
directory. In fact you should not be allowed to write to /tmp. While I have
not checked this, I have the feeling that PHP takes care of this for you. If
you
Hello Rosen,
You can try with visudo command in linux.
For example if you want to give permission to user1 then give shutdown permission to
that user using visudo command.
you have to edit something like
username ALL=(ALL) ALL
Here the above user is assigned with all righ
Hello Dan,
Please try this.Let me know if you have any problem.
function setChecked()
{
document.forms[0].r1value.value='on';
}
function checkr1()
{
if(document.forms[0].r1value.value=='on')
{
alert("One of your radio button is selected");
return false;
}
else
{
Ok. Go to this link...
http://www.magidesign.com/movielist.php and select "12 Monkeys" You will see
that only picked one actor...
It should have pick four
mysql> SELECT concat_ws(" ", fname, lname) as actor FROM actormovie WHERE
title = "12 Monkeys" ORDER BY lname;
+-+
| act
you need to put your $myrow in a while loop:
while ($myrow = mysql_fetch_array($result)) {
$title = $myrow[title];
$videoid = $myrow[videoid];
$catergory = $myrow[catergory];
$appraisal = $myrow[appraisal];
// blah blah blah everything else
}
Tyler Longren
Captain Jack Communications
www.capta
I'm trying to make sure the referer is right on certain pages. I know
the variable and everything, but it gets annoying to have to check wth
www., without www., with urlencode(), and with rawurlencode(). If there
an easier way?
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi,
I am working on a movie database I have two database that I am calling from
but the problem I am having when I ask it to go and fetch all the movies
with the same title, it stops and only shows one.
Here is a basic layout...
if($videoid) {
$result = mysql_query("SELECT * FROM library WHER
i need to remove elements in array which are empty.
this code works but is it ok to do it like this?
code:
if(in_array("", $people)) unset($people[array_search("", $people)])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 15/06/02 5:32 AM, Pawel ([EMAIL PROTECTED]) wrote:
> You're using something like mysql_fetch_array and not querying the db 120
> times I hope.
of course! :)
> The time your MTA takes to process the emails has nothing to do with this.
> 120 calls to mail() should not time out, maybe you have
BK> You should not be writing to /tmp that is a system directory. php.ini is a
BK> file. If you need a "temporary" directory, use ./tmp that will be directory
BK> in your web root directory.
With all due respect, I think there's a reason that /tmp is the default
session.save_path value in php.in
No, everything in PHP happen on the server, BEFORE it gets to the browser.
The browser only sees plain HTML code.
So, page refreshing can be done client-side with JavaScript or META refresh.
Opening a new window can be done in HTML with click, or with a javascript pop-up.
You can redirect the b
You should not be writing to /tmp that is a system directory. php.ini is a
file. If you need a "temporary" directory, use ./tmp that will be directory
in your web root directory.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-Original Me
An opinion was requested, and I gave it.
I will make a few pointed comments and then I will stop wasting my time and
the time of the others on this list.
1) If you do not know why Unix and its various derivatives are a better,
meaning more flexible, more secure, faster, and more stable, then y
-Lakario,
Please have a look on
http://www.php.net/manual/en/features.file-upload.php for more information
on fileuploads in php.Also check with the size of the files you have
transferred.When file size is large, then your files won't get uploaded.This
is due to the low execution
-Rick
Change the owner and group of the directory to nobody.nobody to your /tmp
directory.Iam not sure here.
regards,
SenthilVelavan.P
- Original Message -
From: "php" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 15, 2002 7:42 AM
Subject: [PHP] session problems
>
Anyone know why php would complain about not having permission to write
the session file in /tmp (and to check the session.save_path var in my
php.ini file. when it does specify /tmp in the php.ini and /tmp has
drwxrwxrwt for permissions?
I need a resolution... even if we have to pay for it...
On Saturday, June 15, 2002 at 2:05:50 AM, Zlutarch G. wrote:
> Thanks. I added error_reporting (E_ALL); and it gave me the following error
> msg: "Warning: Undefined index: var in c:\program files\apache
> group\apache\htdocs\php\superstock\ssi\valuecalc\valuescreen\testsess.php on
> line 6"
>
I am having a lot of trouble with the $_name, $_size, and $_type
variable extensions. I have a basic file upload system however it is
within a function. Sometimes when I declare the aforementioned
variables in a global statement such as global $file_name I can get a
value for _name, other times,
Hi Stuart,
Thanks. I added error_reporting (E_ALL); and it gave me the following error
msg: "Warning: Undefined index: var in c:\program files\apache
group\apache\htdocs\php\superstock\ssi\valuecalc\valuescreen\testsess.php on
line 6"
Here is line 6: echo "session var: ".$_SESSION["var"]."";
On Saturday, June 15, 2002 at 1:42:45 AM, Zlutarch G. wrote:
> I tried your script, but I couldn't get it to work. I guess it has to be
> something wrong with my server configuration? I am using Apache 1.3.14. I am
> new to Apache, so I don't know what could possibly be the configuration
> probl
Hi Stuart,
I tried your script, but I couldn't get it to work. I guess it has to be
something wrong with my server configuration? I am using Apache 1.3.14. I am
new to Apache, so I don't know what could possibly be the configuration
problem. Do you have any ideas? Thanks a lot.
Zlutarch
>Fro
On Saturday, June 15, 2002 at 1:27:58 AM, Zlutarch G. wrote:
> I tried your idea but it didn't work. When I used session_encode(), I got
> nothing! It seems that it's not being registered as a session variable. Any
> idea why that is the case?
I hope this will help clear up any confusion.
Go he
Hi Stuart,
I tried your idea but it didn't work. When I used session_encode(), I got
nothing! It seems that it's not being registered as a session variable. Any
idea why that is the case?
Thanks,
Zlutarch
>From: Stuart Dallas <[EMAIL PROTECTED]>
>Reply-To: Stuart Dallas <[EMAIL PROTECTED]>
>
On Saturday, June 15, 2002 at 12:53:47 AM, Zlutarch G. wrote:
> The session ID is the same for a given session, that means the server knows
> its the same session. And since I get the value "1" each time, I can see
> that the $_SESSION["var"] is a global variable with a value of "1". But it
> se
Hi,
My session variables won't persist, could someone help me with this problem?
I spent all day trying to figure out what is wrong, and I still don't know
why I couldn't get it to work. Here is an example script:
";
echo "session var: ".$_SESSION["var"]."";
fnB();
function fnA(){
$_SE
On Friday, June 14, 2002 at 11:30:07 PM, Bruce Karstedt wrote:
> Put your site on a *nix box with apache its a heck of a lot faster
> and a heck of a lot more stable and a heck of a lot easier to configure and
> upgrade.
It's all very well saying that, but have you got any evidence to back those
The last test I did was to put a custom built (by me) box dual 1.2G P4's 36G
Raid 5 all on 7200RPM spindles and 2GB ram running WIN 2000 Server with all
the back office toys vs. an old 133M Pentium, 1.2G 256Meg garbage box I had
in the basement running BSDi Unix with squid caching. The garbage bo
Anywone,
I've been working on an interface to IRC services for a webpage. Ideally
I'd like the webpage to stay connected to the network when it's in use.
pfsockopen(...) seemed to do just the thing I needed. Open a connection,
and don't close it when finished great... but it seems you can't
Do you have any benchmarks?
> -Original Message-
> fans). Put your site on a *nix box with apache its a heck of
> a lot faster
This message is intended for the sole use of the individual and entity to
whom i
Try:
$n = $soils[$i];
$soils[$i] = sprintf("%d", $n);
and if that doesn't work, print out $soils[$i] to see what it is.
> -Original Message-
> $soils[$i] = sprintf("%d", $soils[$i]);
>
> But doesn't seem to work, my program returned an error.
> P.S. : I'm using 4.0.6 otherwise wouldn't
Windows / PHP is fine for development work but I would never put a
production site on a Windows box (With all due apologies to you Windows
fans). Put your site on a *nix box with apache its a heck of a lot faster
and a heck of a lot more stable and a heck of a lot easier to configure and
upgrade.
I generate nos. using range function, e.g. I get 0 to 40.
I want to convert these nos. to string, I tried sprintf()
syntax:
$soils[$i] = sprintf("%d", $soils[$i]);
But doesn't seem to work, my program returned an error.
P.S. : I'm using 4.0.6 otherwise wouldn't have this problem.
-Pushkar S. Pra
Does anyone have a good function for parsing a search string into SQL? I
know it will depend on the name of the field and table I'm searching
through. Anything close will be helpful. An example search string would
be:
beer AND pizza NOT anchovies
and the resulting search string would be
sele
So you just want to insert a bunch of words into the table if they aren't
there already? Why not make the column unique and just insert them. Ignore
the warnings about duplicates...
---John Holmes...
- Original Message -
From: "Zac Hillier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "A
John, Dan & All,
Thanks for your response, perhaps if I tell you more of the story then it'll
make more sense. I'm afraid I seem to have an ability for asking cryptic
questions.
Below is the code I'm using, it is meant to check for a list of between 10
and 50 words in a table then return the key
PHP Editors List...
http://www.itworks.demon.co.uk/phpeditors.htm
Check out http://www.php.net
The links section is handy at times...
Chris
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP Genera
This is an ls -la from /tmp
[rick@wacky /tmp]$ ls -la
total 58
drwxrwxrwt3 root wheel 512 Jun 14 14:20 .
drwxr-xr-x 22 root wheel1024 Jun 13 16:39 ..
drwxr-xr-x2 root wheel 512 Apr 29 14:43 .webmin
-rw-rw-rw-1 root wheel 46193 Jun 11 14:
Okay, I was running php 4.1.2 on freebsd 4.5 with the build
args --with-mysql --enable-track-vars and --with-apxs... I started
implimenting session code. When my code wouldnt work I looked on the boards
and found that there was a bug with that version, so i wiped out php and
upgraded to php 4.2.1.
Take a look at http://www.php.net/manual/en/function.mail.php#AEN39855 for
ways of doing complex mails.. You can indeed do CC's and BCC's you just add
them in the header area. Study the example, it works beautifully and will
do everything you stated.
Plus there are classes out there that will al
You pass a string to the function and it returns a string with each word
starting with an uppercase.
$string = "hello world";
$new_string = ucwords($string);
echo $new_string; // Displays 'Hello World'
---John Holmes...
- Original Message -
From: "Daniel Negron/KBE" <[EMAIL PROTECTED]
DNK> I am trying to figure out how to use ucwords here :
DNK> if (submit)
DNK> $db = mysql_connect($dbhost,$dbuname,$dbpass);
DNK> mysql_select_db($dbname,$db);
DNK> ucwords($sql) < Is this correct ?
DNK> $sql = "INSERT INTO $prefix";
DNK> $sql .=
Looks like it, but you're missing the semi-colon at the end of the line.
> -Original Message-
> From: Daniel Negron/KBE [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] ucwords() usage QUICKIE
>
>
> Hi All,
>
> I am trying t
On Friday, June 14, 2002 at 10:01:24 PM, Sridhar Moparthy wrote:
> Does any one know how to make mail() function to send mail to 'CC' and 'BCC'
> address. I have tried to keep 'CC' and BCC' in header, but it is not
> working. Mail function is sending the message to 'To' address but not to
> 'CC' a
Hi All,
I am trying to figure out how to use ucwords here :
if (submit)
$db = mysql_connect($dbhost,$dbuname,$dbpass);
mysql_select_db($dbname,$db);
ucwords($sql) < Is this correct ?
$sql = "INSERT INTO $prefix";
$sql .= "(first, last, email, com
You missed a step in copying DLLs. I don't remember which one, but it's the
dll files found in
c:\php
> -Original Message-
> From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP Installation Win98/Apache e
So I'm trying to install PHP on win98 with Apache2.
I got these nice instructions from...
http://www.webmasterbase.com/article.php?pid=30&aid=525
After I make the following addition to my httpd.conf file, I get an
error when I try to start Apache again...
ADDITION TO HTTPD.CONF:
LoadModule
Hi All,
Does any one know how to make mail() function to send mail to 'CC' and 'BCC'
address. I have tried to keep 'CC' and BCC' in header, but it is not
working. Mail function is sending the message to 'To' address but not to
'CC' and 'BCC'.
I am using WinNT, IIS and PHP 4.0.6.
Here is the par
Dear PHP Users,
I have a client who currently has a website setup with iChat which
is several years old and we are currently having problems with it. I need
to find a PHP Chat program that will be very easy and simple. I just
wanted to see if anyone here has used a program and really likes
it an
You can run PHP as a module / extension for apache or let Apache load and
run the php.exe program for each php file.
Loading and running the program in quick succession strains the system
somewht but the extension is always loaded and is just used when needed -
much faster and efficient.
"Phil S
Cookies
Session variables
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 2:08 PM
Subject: [PHP] Question about global variables
Hi,
Don't know if this is possible but is there a way to create a single varia
> > -Original Message-
> > From: Justin French [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 12, 2002 6:45 AM
> > To: php
> > Subject: [PHP] bulk mail()
> >
> >
> > Hi all,
> >
> > I've got a mailing on a website, with email address' / names / etc in a
> > MySQL table.
> >
> > I th
I don't think this is possible to setup a global way you're thinking, but I
do believe that you can still accomplish the effect you're looking for.
First of all, exactly what kind of information will you be storing in the
array? You say it needs to be empty the 'first time in'. Does that mean
pe
I've been doing the following sending personalized mail to 600+ recipients,
so far without any signs of discomfort anywhere:
set_time_limit($total_rows * 1); // up the script timeout 1 second per
email
BTW, I use qmail; not sendmail. As I've never used sendmail, I don't know
if this is part of
Hi,
Don't know if this is possible but is there a way to create a single variable (in my
case, a two dimensional array) that is global to my site? This is regardless of which
page is initially loaded BUT I need to have it empty first time in.
I am trying to implement a 'stack' feature where I
Thanks a lot!
Ok this programm began to be interesting.
I will try to stop to be a Newbie.
: ))
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> make sure global variables are enabled in your php.ini
>
> > -Original Message-
> > From: J0s [ma
Hello,
I'm having a hard time getting expat to parse parameter entities and I'm
wondering if any one tried this before (general entities work fine)
sample xml:
%common_entities;
]>
.
-
as the name su
make sure global variables are enabled in your php.ini
> -Original Message-
> From: J0s [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Variable Result is not displayed
>
>
> Here is an example of the test script.
>
> samp
Here is an example of the test script.
sample.php
Nota : The variable are passed throught a Flash form.
In this case, if the script is uploaded on my web site the result is :
Name Test works as a Web developper in Montreal. He/She can be contacted at
: My Web Site.
But on my own machine the
So how do I affect the local copies of the variables. The global() doesn't
seem to work. Should I take everything out of the function and just use if
statements?
-Original Message-
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 3:46 AM
To: [EMAIL PROTECTED]; Tim War
Thanks everyone. I'll check it out.
> > > much.
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.
Could you include some of your code?
> -Original Message-
> When I try to run my scripts they works fine exept for the
> variables results
> that are not displayed.
This message is intended for the sole use of
It also has support for snippits, or a code library that you can add, edit
or delete. Saves alot of time in re-using code. I definately recommend it,
not only for that reason for but for the code debugging options available.
HTH
Jas
"John Holmes" <[EMAIL PROTECTED]> wrote in message
002101c213c
Hi there,
To work on some scripts, I have install PHP 4.02 on a IIS 5.1 server.
(on my own XP machine)
I have setuped PHP following install.txt procedure.
When I try to run my scripts they works fine exept for the variables results
that are not displayed.
I have upload this script on my web site
oops, never mind, I think I see the problem...a missing "btn="
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 12:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Header URL question
I wanted to return to a specific page in a small web app I am wr
I wanted to return to a specific page in a small web app I am writing, which
is based on a variable for each individual record. I just tried
header("Location: customer.php?" . $btn . ""); exit;
and although syntactically correct it did not work. I am going to try a
couple of other things but I w
Keep track of it yourself as you loop through the data. Maybe if you
explained what you need "overall" then we could suggest a method...
---John Holmes...
> -Original Message-
> From: Zac Hillier [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 3:59 AM
> To: [EMAIL PROTECTED]
> S
Hello
> Does Dreamweaver MX have good PHP support?
Their initial support (PHP_MySQL as known as a server model) is quite nice.
However, we have released PHAkt 2 MX (still free and GPL and kicking)
, with a lot of goodies included:
PHAkt 2 beta improvements over the PHP_MySQL Serv
Use it in your code; it'd be a good programming habit to get into.
--John Holmes...
> -Original Message-
> From: David McInnis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] closing mysql connections
>
> How necessary is this?
Yes, download it and see. Gives you a GUI to program recordsets from the
database, and drag and drop for results. Other PHP stuff along with
highlighting built in. If it didn't cost so much, I'd recommend it.
---John Holmes...
> -Original Message-
> From: Lazor, Ed [mailto:[EMAIL PROTECT
Lance:
On Fri, Jun 14, 2002 at 11:41:34PM +0800, Lance wrote:
>
> [::word1 \" word2 \" word3::]
> to:
> ".word1 " word2 " word3."
While I don't know if this is really what you need, it does do exactly
what you want to do in your example:
$Replace['\\'] = '';
$Replace['::'] = '.';
Hi Nick:
On Fri, Jun 14, 2002 at 12:02:45PM +0200, Nick Wilson wrote:
>
> function destroy_properties($obj) {
> if($properties=get_object_vars($obj)) {
> foreach($properties as $key => $val) {
> unset($key);
Try this: unset($obj->$key);
> pro
Hey Zac:
On Fri, Jun 14, 2002 at 08:59:02AM +0100, Zac Hillier wrote:
>
> I'm looking for a php function that will return the position of the pointer
> in a mysql recordset.
I don't think there is one. You could use a counter variable as you're
looping through each row to keep track of where
> How necessary is this?
Very.
> Don't connections close automatically after the page finishes executing?
Correct. All variables are released and all connections are closed
automatically by PHP upon script completion.
> What are the general rules for closing connections and freeing query
>
On Saturday 15 June 2002 00:57, Batch wrote:
> I am trying to exec a perl script from my php code.
>
> Here is what I have:
>
> exec("perlpath/perlscript.pl $var", $array)
Using exec() like this would put the exit code of your perl script into $array
-- which isn't what you want. Use shell_exec(
How necessary is this? Don't connections close automatically after the
page finishes executing?
What are the general rules for closing connections and freeing query
results?
David McInnis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 14 Jun 2002, 1LT John W. Holmes wrote:
>-You have your answer, just use this:
>-
>-$outstring = eregi_replace("badword","goodword",$stringtocheck);
>-
>-It'll replace it whether it's at the beginning or end of a string, embedded
>-in a word, or by itself. Isn't that what you want?
>-
Not
I am trying to exec a perl script from my php code.
Here is what I have:
exec("perlpath/perlscript.pl $var", $array)
The perl script runs fine as I am piping the results to a txt file also...so
I know that the script is running fine. I am printing the result of the
perl script to STDOUT which
> So how would I in PHP say if $var == "value1" then this radio
> button is checked? And how do I do
> it and keeping the code compact?
>
This message is intended for the sole use of the individual and entity to
w
Hi,
I want to make server on Linux Red Hat 7.2 to shutdown from WEB interface.
A'll not have any access to this server. Server will not be connected to
Internet - it's local for organization. I want one men from them only to
turn on computer and to shutdown server via WEB interface without any
adm
I'm trying to evaluate form submissions. When I return a form submission cause of a
missing field
I want the radio and checkboxes to reflect what the client submitted. So if somone
forgets to
fill in their address, but has done everything else fine, I dont want them to have to
refill out
the
Could you restate this question? Sorry, I don't understand what you're
asking.
> -Original Message-
> but the idea is another user only to start and shutdown the server.
This message is intended for the sole u
Does Dreamweaver MX have good PHP support?
Thanks,
-Ed
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and e
Hi
I'm about to start a project which involves building a 'website on a CD'.
There will be similar areas and layouts, just containing different data,
within the site pages. The pages will be a HTML framework containing Flash
and QuickTime files etc.
I've worked with Fast Templates and liked the
On Fri, Jun 14, 2002 at 11:35:04PM +1000, Necro wrote:
> I am currently trying to implement XML Parsing on a site using the XML News
> Feed of another site. The site puts two versions of the news in its file
> though:
>
> -
> Tsunami 2265 Date, Demo
> http://www.shacknews.com/onearticle.x/20
Plain and simple...you have four options: COOKIE, GET, POST, SESSION.
So, load all of your data into a cookie or load it into hidden elements in a
form and submit it somewhere...
Okay?
---John Holmes...
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECT
Kind of. You can have it include() or fopen() something from another server
and do whatever.
But you have to realize that the code is still open on their page, so they
can bypass or just comment out whatever you are trying to do.
Search the archives, too. Wasn't there a huge discussion on this a
You have your answer, just use this:
$outstring = eregi_replace("badword","goodword",$stringtocheck);
It'll replace it whether it's at the beginning or end of a string, embedded
in a word, or by itself. Isn't that what you want?
Actually, it'd be better and faster to just use str_replace() inst
Google??
http://www.google.com/search?hl=en&ie=UTF8&oe=UTF8&q=HTML-Kit
---John Holmes...
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Adrian Greeman" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 11:38 AM
Subject: Re: [PHP] Editor
> URL??
> :)
> *
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then W. Enserink declared
> Nick: thx for the tip, it removed the error, and might further be a good
> idea: except:
> do you know if I can declare session variables and use them in between the
> output buffer statements
> like this: (i tri
hi, i have been banging my head against the wall for hours trying to
figure the expression out to perform the following:
covert this:
[::word1 \" word2 \" word3::]
to:
".word1 " word2 " word3."
i would definitely appreciate any help given on this.
thanks beforehand.
lance
--
PHP General Ma
URL??
:)
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
- Original Message -
From: "Adrian Greeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 8:18 AM
Subject: [PHP] Editor
> I am just surprised that noone mentioned HTML-Kit among all the editor
Can it be true that PHP does not implement the beginning and end of word
syntax of regular expressions?
In builing a bad word filter, I find this...
$outstring = eregi_replace("badword$","goodword",$stringtocheck);
will find an occurance of the 'badword' at the end of the string and
replace
1 - 100 of 141 matches
Mail list logo