Dear All,
I am using RedHat Linux 7.2, PHP4.1 and its buitd-in apache, I had tested that
the php run correctly with apache.
According to the documentation of www.php.net, As shown below:
#
XCIII. SNMP functions
In order to use the SNMP
Hi all,
session_pgsql version 0.2 (beta) is released.
New:
- Auto global variable $_APP is added. It's a
application scope variable. You can share
values in the same application. It uses
session name for application name.
Feature:
- More than 2 times faster than 'user' save
I've users in a database classified by differnet
catagories. Now based on category I need to send mail
to all the users in a category.
Calling mail() function in a loop would be a kill for
the server as there are more than 1000 users in each
category.
Is there any way of doing this ?? Creating a
hi.
maybe you put the first user into the "to"-field and all
others into field blindcopy...
you will need one mail and send it to all. but i don't know
if there is a limit ...
greetz
> -Ursprungliche Nachricht-
> Von: Kancha . [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 20. Februa
Hi, thanks for reading this,
Iam trying to push elements into a two dimentional array, but I cant find
the proper syntax, I'd be grateful if someone could email me the proper
method. Iam using the normal method, which worked fine for a one dimentional
array, but when I use it for a two dimentio
Thank you all, let's see how good the machine will do...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yas, but that way they all end up in junk filters. Dont use bcc to send you
mailing list
- Original Message -
From: Norbert Eder <[EMAIL PROTECTED]>
To: Kancha . <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: 20. veljaèa 2002 13:10
Subject: AW: [PHP] mass mail
> hi.
>
> maybe you put t
Hi!
Problem: see subject
I posted the problem to php's bug-db but <[EMAIL PROTECTED]> answered:
"The bug system is not the appropriate forum for asking support
questions. For a list of a range of more [...]
With xbit hack, you are supposed to parse by PHP."
BUT: On our old server-install (PHP
Has anybody installed the gmp library or know of any well documented ways of doing so
I really need some help with this one. I am using win32 and I need to get it running
asap. I have already installed the gmp library using cygwin but I can't get php to
configure with gmp and make it gives a w
[EMAIL PROTECTED]
> -Original Message-
> From: Tobias Wiersch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 8:04 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] xbithack causes parsing of html-files by PHP
> instead SSI
>
>
> Hi!
>
> Problem: see subject
> I posted the p
I don't understand how the 'ticks' works: please help me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Raymond,
Here is the break down:
1. Download ucd-snmp tar.gz file.
2. Download openssl tar.gz file.
You will need openssl for snmp v3 for the security stuff.
Uninstall ucd-snmp if it is installed on your system. Uninstall openssl on
your system.
3. Untar the files...
4. In the ucd-snmp dire
Hi all,
I'm trying to make a script to get "application/octet-stream" datas from a
java applet. The method used by the applet is POST and I tried to use
$HTTP_RAW_POST_DATA like this
but $HTTP_RAW_POST_DATA is not set and $buffer stills empty. The size of the
data sent by the applet is 860bytes
AFAIK 4.0.6 is weird in the process of HTTP_RAW_POST_DATA generation.
I used this var successfully on 4.0.0, when tried to upgrade to 4.0.6 there was a
problem. After an investigation I found that if
the submited POST has known by Apache Content header then the var is empty. I think it
is fixed
Hi,
No one has any idea on this topic? Or the question wasn't clear?
Thanks,
Arpi
> Hi again,
> I read my email back and found a little hard to understand :)), so
> I thought a code exmplae might help.
> It's just pseudo code for explaining how my cache works:
>
> //simplified "main" code
Yow
I've a question, :-)
I'm using ht access to protect a Directory with CGI in that I need use on my
website.
The htaccess uses the password file of my Linux to authenticate one.
Now I want to keep the ht access but when I login via another login script a
want my ht access to be filled in auto
Do you need to use an include path? Why not just use the include()
function?
Also, what are the contents of constant.inc? Perhaps the problem lies
there.
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 2:03 AM
To: [EMAIL PROTECTED]
Subject: [
How come doskey doesnt seem to work under Mysql running
in Win9x?
Is there an alternative instead of endless repetitve typing and
quickly disintegrating wrists?
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi:
I was wondering if it is posible to make in PHP a cron
job, that will trigger an event (i.e. send an e-mail) long after the process of
the data has taken place, like programming an e-mail to go out, on an specified
date.
My question is, since the script is run and triggered
by t
"Uma Shankari T." <[EMAIL PROTECTED]> wrote:
> If i gave the str date as "31-01-2001"; and $str1="04-02-2001"; then it
> is displaying the wrong result
>
> Plz tell me how can i rectify this problem...
Uma,
I wrote a function last year that calculates the time between 2 dates in
whatever unit i
php-general Digest 20 Feb 2002 14:55:11 - Issue 1183
Topics (messages 85485 through 85533):
Re: Difference between two dates
85485 by: Rasmus Lerdorf
85487 by: Steven Walker
85502 by: Uma Shankari T.
85533 by: Steve Werby
Re: Weather Scripts
85486 by
Pull the plug? :)
-Original Message-
From: Chris Lott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 1:28 PM
To: Ruben Vermeersch
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Crashing a webserver
> I have got the task to down our webserver, to see how stable she is, and
how
>
Argh! Please drop the purple bakground from your email. HTML email is bad
enough since many of us use mail readers that can't read it, but black on
purple is just plain hard to look at!
"webmaster mbtradingco" <[EMAIL PROTECTED]> wrote:
> I was wondering if it is posible to make in PHP a cron
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
"Kancha ." <[EMAIL PROTECTED]> wrote:
> I've users in a database classified by differnet
> catagories. Now based on category I need to send mail
> to all the users in a category.
>
> Calling mail() function in a loop would be a kill for
> the server as there are more than 1000 users in each
> cate
Array_push() takes an array as it's first parameter. In your case you have
an array of arrays (NOT a 2 dimensional array) and to add an element on to
the end of one of them you need to pass the name of the element of the top
level array you want to add an element to into the function.
I.e. if you
Right you are, seconds.
> -Original Message-
> At 03:21 PM 2/19/2002 Tuesday, Johnson, Kirk wrote:
> >See session.gc_maxlifetime in php.ini.
> >
> >Kirk
>
> I assume that the value given is in seconds.
> Correct??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
>
>
>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 (
Anyone know why someone would get a 405 Resource not allowed error while
trying to input to a PHP script from a form, using Windows XP, IIS 5 and PHP
1.1.1 (CGI Ver.)
_
Get your FREE download of MSN Explorer at http://explorer.msn.
Suggestion:
- When the user triggers the event, store their user name, email or
whatever along with a timestamp in your site's database (if it has one) or
in some text file some place.
- Write a cron script that runs every five minutes, every minute, every
hour, whatever. When this script r
Anyone know what "fdisk" stands for?
I've heard both "fixed disk" and "format disk",
I always thought the later
Sorry for for the OT post.
-B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It depends on who you are talking too...
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 9:12 AM
To: PHP Lists
Subject: [PHP] fdisk?
Anyone know what "fdisk" stands for?
I've heard
I would say it stands for "fixed disk" - it really doesn't format anything
anyway, it is for partitions.
A paste from the man page:
NAME
fdisk - create or modify fixed disk partition table
Jeff
At 11:11 AM 2/20/2002 -0500, Brian V Bonini wrote:
>Anyone know what "fdisk" stands for?
>
>I
I want to retain some data across my sites, which have different domain names.
I can't use cookies because they rely on the domain name, and I'd rather not
pass the information on every link Any suggestions?
--
Ben Sinclair
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
> I want to retain some data across my sites, which have different domain names.
> I can't use cookies because they rely on the domain name, and I'd rather not
> pass the information on every link Any suggestions?
Need to store it server side somehow. Perhaps a global database?
Chris
--
PHP
I could do that, but how would I keep track of the users? I don't think IP
addresses are reliable. I would also prefer to limit my database access.
--
Ben Sinclair
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
To: "Ben Sinclair" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sen
Write it to a database from one server, and then read it from another?
webserver 1 <--> db server <--> webserver 2
HTH
Jon
-Original Message-
From: Ben Sinclair [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 16:25
To: [EMAIL PROTECTED]
Subject: [PHP] Retaining data across multiple s
> I could do that, but how would I keep track of the users? I don't think IP
> addresses are reliable. I would also prefer to limit my database access.
Are you using sessions? If so, you can keep track of users that way.
I believe this would be the only solution available to you. I am not sure
Hello,
I loosely understand how I can have a person login to a system by giving
them a cookie with a certain amount of time with a encrypted code. And
save that same encrypted code in the database for a certain amount of
time. I am looking for a tutorial on how to do this so I can wrap my
mind
They can... i've used the same code and the same database
server for two domains with no prob's.
The problem is cookies (as was mentioned previously)
If domainx.com writes a cookie, then no other domain
can (theoretically) access it.
> -Original Message-
> From: Chris Boget [mailto:[E
Have you considered PHPLIB?
http://phplib.sourceforge.net/
http://sourceforge.net/projects/phplib
http://www.sanisoft.com/phplib/manual/
The docs'll give you an idea of how they did it. The code is pretty
complex, though, but it does a lot. I'd suggest using this as a
On Tuesday, February 19, 2002, at 08:13 PM, Shannon Doyle wrote:
>
> Hi People,
>
> I have been looking around the web lately and have noted a number of
> sites are running what appears to be php scripts that parse their local
> weather information and display it on their wesite.
>
> Well, I wa
Ben Sinclair wrote:
>I want to retain some data across my sites, which have different domain names.
>I can't use cookies because they rely on the domain name, and I'd rather not
>pass the information on every link Any suggestions?
>
I've been thinking about this recently and here's what I came up
On Wed, 20 Feb 2002, Ben Sinclair wrote:
> I want to retain some data across my sites, which have different domain names.
> I can't use cookies because they rely on the domain name, and I'd rather not
One way I handle this ... it's a work-around, so it's not all that pretty:
In the doc root on
These are all workable solutions, but I also have to worry about https sites.
If I link to hidden images on non-secure servers, the browser will display a
warning. I'm also trying to avoid buying multiple certificates when all I want
to do is brand a site.
--
Ben Sinclair
- Original Message
Hi
Is it possible to convert a PHP script that writes and pulls data from a
mySQL database to use text files / database instead.
Thanks in advance
Mohamed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Grab a recent PHP release and in your php.ini file add:
always_populate_raw_post_data = On
-Rasmus
On Wed, 20 Feb 2002, Nicolas Boutet wrote:
> Hi all,
> I'm trying to make a script to get "application/octet-stream" datas from a
> java applet. The method used by the applet is POST and I tried
M.E. Suliman wrote
> Is it possible to convert a PHP script that writes and pulls data from a
>mySQL database to use text files / database instead.
>
Yes it is but you could have a job on your hands depending on the
complexity of the script. Personally I favour PHP's serialization
capabilities
Hey Ben:
Ben Sinclair wrote:
>
> These are all workable solutions
Not really. JavaScrap and cookies are not a solution. They're a quick
answer which doesn't work 100% of the time. *IF* you're going to use
sessions, use a URL based session ID, which will work in 100% of browsers.
Not all bro
Hello
This my first post and I hope I can understand any replies :-)
I download a chatroom from webscriptsworld.com very nice it is as well.
What I would achieve is to make a sound when someone enters and when someone
leaves. I'd also like to to replace some words with sounds. I was hoping
Dear Jack,
> I had create a file called "contant.inc".
> What i want to do is to use the require function() to point to this file,
> but when i test it, it says:
>
> "Warning: Failed opening 'constant.inc' for inclusion (include_path='') in
> C:\InetPub\wwwroot\php study\General News\news.php on
On Wed, 20 Feb 2002, Ben Sinclair wrote:
> These are all workable solutions, but I also have to worry about https sites.
I called it a "work-around" rather than a "solution" on purpose :)
The only real solution is to collapse the different sites into one domain.
> If I link to hidden images on
Hello,
I know how to set a cookie. How do I read the value of that cookie the
next time that person returns to my website?
Brandon Orther
WebIntellects Design/Development Manager [EMAIL PROTECTED]
800-994-6364
www.webintellects.com
--
http://www.php.net/manual/en/function.setcookie.php
Also, read up on any other cookie related functions linked from that page.
On Wednesday 20 February 2002 10:04 am, you wrote:
> Hello,
>
> I know how to set a cookie. How do I read the value of that cookie the
> next time that person returns t
Hello,
I have a few forms that are used to input html. We have run into a
problem of < and > getting turned into < and > when you hit
submit, Or if you hit submit more than once. I have attached a sample
form. The major problem here is that some times we want < and some
times we want to inpu
Brandon,
There are a few things about cookies that are not completely. I may be
wrong about this, but this is what I've found:
When a cookie is set, it must be passed before any other headers or
tags. But the cookie is not actually available to the page it was set
on. If the user reloads th
"Mick Fitzpatrick" <[EMAIL PROTECTED]> wrote:
> This my first post and I hope I can understand any replies :-)
>
> I download a chatroom from webscriptsworld.com very nice it is as
well.
>
> What I would achieve is to make a sound when someone enters and when
someone
> leaves. I'd also like t
Does anybody know why the predefined variable $REMOTE_ADDR would be
null, while getenv("REMOTE_ADDR") works fine?
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
After much trial and error, I've learned what it takes to display special
characters (such as em or en dashes and curly quotes etc.) reliably on
practically any browser.
My recommended steps are:
- Save the content in your database and XML files as UTF-8
- Don't announce your charset as UTF-8
I have windows 98 sr 2 and php 4.1.1 installed.
When i call the function socket_set_timeout, i got a socket_set_timeout
supported in this php build". What am i supposed to do ?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hey,
Any ideas on how one can encode multiple files on a windows machine??
Regards,
Kunal Jhunjhunwala
"Minds think with ideas, not information. No amount of data, bandwidth, or
processing power can substitute for inspired thought." - Clifford Stoll
--
PHP General Mailing List (http://www.php.
Im having a weird regexp problem in PHP that I think is correct but it
doesnt appear to work.
The code is this:
$a = "/test/";
preg_replace("/^\//", "", $a);
echo $a;
I want preg_replace to replace the first '/' in $a with '' so that the
echo function echoes "te
$a = "/test/";
$a = preg_replace("/^\//", "", $a);
echo $a;
Notice the difference in the second line...
On Wed, 20 Feb 2002, John Ericson wrote:
> Im having a weird regexp problem in PHP that I think is correct but it
> doesnt appear to work.
>
> The code is this:
>
>
try:
$a = preg_replace("/^\//", "", $a);
On Wednesday 20 February 2002 12:25 pm, you wrote:
> Im having a weird regexp problem in PHP that I think is correct but it
> doesnt appear to work.
>
> The code is this:
>
> $a = "/test/";
> preg_replace("/^\//", "", $a);
> echo $a;
>
>
Hi
I've encountered a little (I hope) problem
I can put an anchor on a page to create an internal link writing
and then reach it with a normal link writing
echo "go to my_anchor";
but to me is necessary to add a variabale to this link
usually I write somthing like this:
echo "go to";
how ca
thanks!
On Feb 20 11:55, Philip Hallstrom wrote:
>$a = "/test/";
>$a = preg_replace("/^\//", "", $a);
>echo $a;
>
> Notice the difference in the second line...
>
> On Wed, 20 Feb 2002, John Ericson wrote:
>
> > Im having a weird regexp problem in PHP that I think is cor
Also note:
"^" matches the beginning of the string, so "^\/"
will only match a "/" at the beginning of the
string (not the first occurence of "/")
> -Original Message-
> From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] Re: preg_replace("/^\//".. doesnt work?
>
>
Err, that's what he wanted
On Wednesday 20 February 2002 12:13 pm, you wrote:
> Also note:
>
> "^" matches the beginning of the string, so "^\/"
> will only match a "/" at the beginning of the
> string (not the first occurence of "/")
>
> > -Original Message-
> > From: Philip Hallstrom [m
Good day,
The first argument should just be a normal regular expression, not a
replacement regular expression.
I'm not at my server right now, but I would guess that it'll work once you
get rid of the last / in the first expression.
Darren Gamble
Planner, Regional S
Hey Sergio:
Jena wrote:
>
> how can I pass either the internal anchor and the variable in the url?
>
> I tried in many ways
> echo "go to";
> echo "go to";
This URL works for me:
http://66.39.64.134/teams.htm?LeagueID=ncaab#d27
So, your second attempt should work. Personally, I'd rewrite
Hi Steven:
Steven Walker wrote:
>
> Does anybody know why the predefined variable $REMOTE_ADDR would be
> null, while getenv("REMOTE_ADDR") works fine?
Put "register_globals" on via your php.ini or .htaccess file. In php.ini,
change
register_globals = Off
to
register_globals = On
Enjoy,
that's probably what he meant... but what he
asked for was how to "replace the first '/' in $a"
if you have $a="abc/def", the regex "^/"
will not replace the first "/" in your string,
which was my point :-)
> -Original Message-
> From: James Taylor [mailto:[EMAIL PROTECTED]]
> Subject: R
On Wed, 2002-02-20 at 12:26, Analysis and Solutions wrote:
> Hi Steven:
>
> Steven Walker wrote:
> >
> > Does anybody know why the predefined variable $REMOTE_ADDR would be
> > null, while getenv("REMOTE_ADDR") works fine?
>
> Put "register_globals" on via your php.ini or .htaccess file. In ph
Hi Byron:
Byron Albert wrote:
>
> The major problem here is that some times we want < and some
> times we want to input html tags.
The solution depends on what you're trying to do. What's your goal. Are you
using the text area to store full web pages, or examples of how to write
HTML, or
> Does anyone know where I can get a simple symbol font which is .ttf and
> "unicode" compatible. Seems that my php graphic program is very
> sensitive to ttf problems. It'll take one or two wingdings in
> imagettftext() before it up and dies. Your help will be greatly
> appreciated.
Dies? How s
What is the difference between $_SERVER and getenv()? Why should one be
more reliable/better than the other?
> Better: avoid globals and use $_SERVER['REMOTE_ADDR'].
Sorry, if I'm asking you to repeat yourself... the documentation doesn't
relate the two.
Steven J. Walker
Walker Effects
www.wa
In php for windows, you can use the printer_open()
function found in the php_printer.dll. Unfortuantly,
I run a Red hat/Apache web server and this won't work.
Do you know of any method/package out there that I
could install on my linux machine that will all me to
print data to a printer? Thanks
You need to sit through my PDF/PHP talk where I go through all this. See
conf.php.net/paris2 specifically slides 7 and 8
In particular see the example:
http://conf.php.net/pres/slides/intro/pdf_font_ex2.php
the code for which is on slide #8. This example shows how to use each of
the built-in
A "work around" is using the one of the system commands and print that way.
Check here for the program execution functions:
http://www.php.net/manual/en/ref.exec.php
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Matthew Berwald [mailto:[EMAIL PROTECTED]]
Matthew Berwald <[EMAIL PROTECTED]> wrote:
> Do you know of any method/package out there that I
> could install on my linux machine that will all me to
> print data to a printer? Thanks for the help.
$lp = popen("lpr", "w");
fwrite($lp, "stuff to print");
pclose($lp);
this uses the unix-standar
I'm still kind of new when it comes to dealing with classes.
I'm curious, is it accepted practice for member functions of
your class to:
* access global variables
* use non member, user defined functions
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Byron Albert <[EMAIL PROTECTED]> wrote:
> I have a few forms that are used to input html. We have run into a
> problem of < and > getting turned into < and > when you hit
> submit, Or if you hit submit more than once. I have attached a sample
> form. The major problem here is that some times w
The whole idea with object-oriented programming is polymorphism and
encapsulation. You do not want your classes to access global variables but
access that information through objects and messaging between objects. If
you are referring to the use of non-member as being outside of the class,
then
On Wed, 2002-02-20 at 12:42, Steven Walker wrote:
> What is the difference between $_SERVER and getenv()? Why should one be
> more reliable/better than the other?
>
> > Better: avoid globals and use $_SERVER['REMOTE_ADDR'].
>
> Sorry, if I'm asking you to repeat yourself... the documentation do
Well, I guess many things are "accepted" now, but here's my two cents:
I wouldn't access global variables, instead you should pass everything you
need as parameters. Using global variables can come back to bite you
occasionally because you may think you are changing a local variable at one
po
I'm not sure from your question whether or you understand that the PHP
printer functions only work with printers connected directly to the
server. They're not for client side printing. And there are no
equivalent functions for non-Windows platforms. However I do recall
coming across a Javascrip
"Richard Crawford" <[EMAIL PROTECTED]> wrote in message
1013802064.4935.5.camel@mossroot">news:1013802064.4935.5.camel@mossroot...
> I'd be much more interested in microbreweries, though. Most commercial
> breweries like Anheuser Busch and Coors don't brew beer. Send some of
> their product to a
Hi All,
I have register_global = off and I have problem
retrieving array session variable. For example;
Page1.php
Page2.php
None of these works. The session file does registered
the array and variables. I can retrieve the array
with the register_global on. Any ideas?
Thanks,
Harry
___
The code in the first file is correct if register_globals is on. Since it is
off, remove the call to session_register() and just assign values directly
to $_SESSION, e.g.,
$_SESSION[name['first']] = 'First Name';
Kirk
> -Original Message-
> From: Harry Yu [mailto:[EMAIL PROTECTED]]
> Se
Okay... I messed around with things a bit and moved the php stuff to the top
as you suggested. I have part of the validation working however if more than
1 error exists, it still only prints the 1st one.
Below are 2 example places where there would be an error... if I leave them
both blank, they
im having a problem with text being submitted to my site through forms
into the database, where the text has been edited in MSWord and the
quotes that it uses get turned into question marks. does anyone know a
way to convert these MSWord quotes to normal " marks?
--
austin swinney
In article <001901c1ba5d$634e3840$89010a0a@bpaulson>,
[EMAIL PROTECTED] (Brian Paulson) wrote:
> What would the regular expression be to remove all the text
> between ( )
>
> $string = "This is a (001 Test) and (002 Test)";
$string=preg_replace("/\(.+\)/U",'',$string);
Note that leadi
Hello,
What would the regular expression be to remove all the text
between ( )
$string = "This is a (001 Test) and (002 Test)";
The numbers always change but the word stays the same
Any help would be appreciated.
Thank You
Brian Paulson
Sr. Web Developer
[EMAIL PROTECTED]
http://w
is there a way to monitor bandwidth use of a script
any ideas welcome.
Paul Roberts
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Great,
Thanks for the help, worked like a charm
Brian
-Original Message-
From: CC Zona [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 1:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Removing every thing between ( )
In article <001901c1ba5d$634e3840$89010a0a@bp
On Wednesday, February 20, 2002, at 05:24 PM, Brian Paulson wrote:
> What would the regular expression be to remove all the text
> between ( )
>
> $string = "This is a (001 Test) and (002 Test)";
>
> The numbers always change but the word stays the same
preg_replace("/(\()\d{3,3} Test(\))/"
I have a script, which is called by scripts located on other sites. Is it
possible to tell the url of the remote script that is calling my script?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way to regular hyperlinked text to submit a form?
For example, rather than having a button that says [Login], I just want
underlined text: Login
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
Is there an easy way to pull all the variables after the URL?
Let use say that the page I am looking at is this.
www.somewhere.com/pages.php?id=27&color=red&bgcolor=green
Now on the page I want a link to have the 3 variables from above.
I know I can do this.
Click Here
But I am wondering if th
> Is there a way to regular hyperlinked text to submit a form?
>
> For example, rather than having a button that says [Login], I
> just want underlined text: Login
You can use JavaScript on that link. An onClick event
which triggers document.formname.submit() would work,
but then you lose back
1 - 100 of 176 matches
Mail list logo