At 06:04 18-3-03 -0500, Jason Paschal wrote:
this is an sql syntax question and i know it's not appropriate for this
mailing list, but i didn't want to subscribe to another mailing list for
something i think one of you might be able help me with. thank you for
your patience.
i'm building a sit
At 06:04 18-3-03 -0500, Jason Paschal wrote:
this is an sql syntax question and i know it's not appropriate for this
mailing list, but i didn't want to subscribe to another mailing list for
something i think one of you might be able help me with. thank you for
your patience.
i'm building a sit
add an etra header (see mail function)
and use the bcc: header
Gr
At 11:39 25-2-03 -0300, Skyhawk wrote:
How do I make to I send mail with hidden copy?
What the correct sintax??
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PH
fput($fp, ''); should work
else try
fput($fp, '<' . '?' . "\n");
fput($fp, 'phpinfo() . "\n");
fput($fp, '?' . '>' . "\n");
Greetz
At 09:27 25-2-03 -0500, MIKE YRABEDRA wrote:
Is it possible to use 'fputs' to write to a text file and include php code
within it?
That way the generated page wil
At 11:27 19-12-02 +, John Wards wrote:
On Thursday 19 Dec 2002 11:25 am, Wico de Leeuw wrote:
Preg_Replace('~src="(?!http://)~iS', 'src="http://www.domain.com/', $string);
1. find src="
2. look forward if next chars are http://
i=not case sensitive
S=o
At 11:18 19-12-02 +, John Wards wrote:
I have a regexp problem
I want to go through some HTML and where I want
to change it to this http://www.domain.com/path/to/image.jpg";>
BUT
if the image tag is like this
http://www.domain.com/path/to/image.jpg";>
already I don't want anything to hap
Hiya
something like this
if ($FileContent = file("d:\MyPhp\\test.ora") AND $IniContent =
file("d:\MyPhp\initORA.ini")) {
foreach($FileContent AS $line) {
if (in_array($line, $iniContent)) {
echo "$Line\n";
Did you look at:
http://www.php.net/manual/en/function.file.php
Puts all lines in an array
Gr,
At 12:00 19-12-02 +0100, Jacob van Zanen wrote:
Hi All,
I'm reading a paramter file and a text file.
Per line of the text file I want to check if there is a word in there from
the parameter file.
Howe
At 17:26 18-12-02 +0100, Wico de Leeuw wrote:
^ is not in this case
Cancel that, i don't think thats true
anyway
if(!ereg("^[a-zA-ZåÅäÄöÖ]{4,20}\$", $_REQUEST['f_name'])) {
Should work i think
Gr,
Try
if(!ereg("^([a-zA-ZåÅäÄöÖ]{4,20})\$", $_REQUEST[
^ is not in this case
Try
if(!ereg("^([a-zA-ZåÅäÄöÖ]{4,20})\$", $_REQUEST['f_name'])) {
Added the $ at the end else the could be more then 20 chars
Greetz
At 17:20 18-12-02 +0100, Anders Thoresson wrote:
What's wrong with the following regular expression? As far as I can se,
only alphabetic ch
At 15:33 18-12-02 +, shaun wrote:
Hi,
what is the best way to check if a textfield is empty, and is it the same
for file fields?
if (empty(trim(@$textfield))) {
}
thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
http://www.php.net/manual/en/function.parse-url.php
At 06:39 18-12-02 -0800, Mako Shark wrote:
I've got a URL like this:
http://www.naturalist.com/~fungae/index.php
which is stored in $http_referer (as parse_url from
$HTTP_REFERER).
I'm trying to extract the username (~fungae). I've
read the do
addslashes should be enough and put qoutes arround your strings in the sql
At 14:58 18-12-02 +0100, Anders Thoresson wrote:
Would this function do the trick?
// validate.php - functions that validates form input
function validate_string($unsafe_string) {
// create array containing b
At 13:39 18-12-02 +, achillex wrote:
[EMAIL PROTECTED] (Leif K-Brooks) wrote in news:3DFE7849.5050102
@buyer-brokerage.com:
> Is there a way to put each part of a string matching a regex into an
> array? Example:
> $string = "-_-_--- --_-_-- random text here-_";
> $array = regextoarray($
Hiya
everytime i send something to the php list i get an error from someone
@fc.emc.com.ph
stating:
php-list,emc (The name was not found at the remote site. Check that the
name has been entered correctly.)
I can't send the whole email, i tried but then i was unsubscribed from the
list :)
Can
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the information.
I know the urlencode function.
But my PHP application is done already (developed on the linux based PHP)
and it would be very hard to edit the source code again. So the urlencode
function is only a workaround.
-Ursprungliche Nachricht-----
Von: Wico de Leeuw [mailto:[
Maybe basename($_SERVER['SCRIPT_NAME']);
At 14:10 18-12-02 +0100, Robert Nedbal wrote:
Hi,
I'm having problems with my PHP installation. When I try to get real path
to my script by using $_SERVER["PATH_TRANSLATED"], I receive empty string.
$_SERVER["PATH_TRANSLATED"] empty string (why?)
$_SERVE
http://www.php.net/manual/en/function.array-rand.php
At 11:35 18-12-02 +, shaun wrote:
Hi,
Say i have a set of non sequential numbers for example: 1 3 8 12 13 16 19
21.
How can i get php to take a random number from this set?
Thanks for your help
--
PHP General Mailing List (http://www.
Look for the limit in php.ini
http://www.php.net/manual/en/configuration.directives.php#ini.upload-max-filesize
Gr,
Wico
At 16:47 18-12-02 +0530, Somesh wrote:
Hi,
I am using the following code to upload file;
X---
Send the file:
X---
http://www.php.net/manual/en/function.error-reporting.php
At 10:31 18-12-02 +, Michael Egan wrote:
All of the PHP scripts hosted on a Linux server I'm working with have
suddenly begun producing an error message:
undefined variable 'variablename'
This occurs wherever a variable name
At 14:44 18-12-02 +0500, Igor Shulgin wrote:
Hi!
I cannot compile php-4.0.6 with MySQL support as static module for
apache_1.3.20 on FreeBSD 4.4.
Early I successfully build and install
/usr/ports/databases/mysql323-server and
/usr/ports/databases/mysql323-client with standard configuration
At 20:41 18-12-02 +1100, you wrote:
hi guys i have a little problem with flushing the buffer output, in this
loop it should be downloading a file and changing the progress of a progress
bar, although it waits until the shell_exec of all the files are done and
then flushes the buffer which will sta
Hiya,
I couldn't read you code really (i think you gotta look into it, eval is
evil and really not nessacery here)
I suggest you look at this (piece) of code:
value="">value_
Gr,
Wico
At
http://www.php.net/manual/
At 13:13 17-12-02 +0100, [EMAIL PROTECTED] wrote:
Hi Bogdan,
sorry I am new to PHP where can I find a manual of PHP?
Oliver
Sorry, I only saw the first line in your message ("I want to know all
about...") - somehow assumed the 2nd to be part of the sig on first
gt;tpl_home->parseCurrentBlock("PRINCIPAL");
}
function show(){
$this->tpl_home->show();
}
}
$alo=new Home();
$alo->show();
?>
At 17:36 16-12-02 +0100, Wico de Leeuw wrote:
Hiya
Try it like this:
Hiya
Try it like this:
require_once "HTML/IT.php";
class Home {
var $tpl_home = NULL;
function Home () {
$this->tpl_home = new
IntegratedTemplate("../templates");
}
function Home(){
At 22:43 18-6-2001 -0500, David VanHorn wrote:
>At 12:01 AM 6/19/01 +0200, Alexander Skwar wrote:
>>So sprach Clayton Dukes am Mon, Jun 18, 2001 at 05:38:26PM -0400:
>> > Why not just set your filter to look for [EMAIL PROTECTED] in
>> the to
>> > or cc line?
>>
>>Because not all filters support
At 15:40 8-5-2001 +0200, Dominic Brander wrote:
>Hi
>I'm trying to include some php3 files via http.
>one part of the php files is on a regular server and the other part is
>on an secure server.
>Instead of duplicating all the files for both servers I would like to
>include them via http.
>How doe
At 11:45 8-5-2001 +0200, Wico de Leeuw wrote:
>At 11:27 8-5-2001 +0200, Trond Straume wrote:
>>Hi!
>>
>>I'm having problems using preg_replace to search and remove backslash
>>character.
>>
>>print preg_replace("/\\/","","
At 11:27 8-5-2001 +0200, Trond Straume wrote:
>Hi!
>
>I'm having problems using preg_replace to search and remove backslash
>character.
>
>print preg_replace("/\\/","","testing \\ testing");
try
print preg_replace('"\"',"","testing \\ testing");
double-quote single-quote back-slash single-qoute
k kan in een uitgebreide cv toesturen.
Alvast bedankt,
Wico de Leeuw
--
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]
At 21:33 3-5-2001 -0300, Christian Dechery wrote:
>How can I get the modulus of an float by an integer?
>
>$time=3.345345;
>$time2=2.34234;
>$time3=$time%$time2;
try $time3=(long)$time%$time2;
something like that should work
>echo $time3;
>
>this outputs 1.
>
>$time=3.345345;
>$time2=2
>$time3=
At 13:39 18-4-2001 +0200, Jeroen Geusebroek wrote:
>Hi,
>
>I have question about regular expressions; I don't know anything
>about it and was wondering if someone could help me out.
>
>I have this text:
>
>"[ this is atest ] and this is the rest of the text"
$data = "[ this is a test ] and this i
At 00:28 18-4-2001 -0700, Sean Coyle wrote:
>Thanks for that help! Now I am getting an interesting error that I am not
>sure what to make of.
>
>Warning: REG_ERANGE in /home/httpd/www/worldvibe.org/digitall/edit_f.php on
>line 91
>
>Here are lines surrounding 91:
>
>89-> strtolower($f_loc_name)
At 11:47 22-2-01 +0100, Christian Reiniger wrote:
>On Thursday 22 February 2001 00:04, Simon Garner wrote:
>
> > > I have a database of numbers:
> > >
> > > TOTAL HITS: 1000
> > > PAGE 1: 500
> > > PAGE 2: 250
> > > PAGE 3: 250
> > >
> > > How can I query these numbers and display back a percentag
Hiya
Anyone knows a flowchart program that's very easy in use and good for
programming (in php)
I saw programms like viso and stuff i think there a better en easier in use
programms to make a good programm flow.
Greetz,
Tnx in advance
WIco
--
PHP General Mailing List (http://www.php.net/)
At 11:35 31-1-01 +0300, Max A. Derkachev wrote:
>Hello Niklas,
>
>Wednesday, January 31, 2001, 7:02:49 PM, you wrote:
>NS>
>$tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"\\1\"",$this->dataToBeParsed);
Take a look @ Preg_Replace with the e modifier, i think you are looking for
that (p
hiya
echo implode (' ', $array);
greetz,
Wico
At 08:24 10-1-01 -0800, Chris Lee wrote:
>everyone allready posted about foreach(), but they didnt post the
>alternative syntax
>
>foreach ($array as $position => $value)
>{
> echo $postition : $value\n";
>}
>
>http://www.php.net/manual/control
39 matches
Mail list logo