perfect, exactly what i needed
thanks
J.
On Friday, Dec 6, 2002, at 16:38 US/Eastern, J Smith wrote:
Regular expressions would be overkill. Try
$newString = str_replace(" ", "", $oldString);
J
Jule Slootbeek wrote:
Hi,
What's the best and easiest way to st
Hi,
What's the best and easiest way to strip all the spaces from a string?
do i use regular expressions for it?
TIA,
J.
Jule Slootbeek
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a problem,
i know this is not the MySQL mailinglist, but i hope you guys can help
me.
when i type mysqladmin variables the port comes up as 0 and doesn't let
people connect to my db remotely.
does anyone know why this problem is, and how i can change my port?
TIA
Jule
Jule Sloo
if a file exists a remote ftp site.
Jule Slootbeek
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o "
".$localList."
modified
".filemtime($localList)."
";
}
}
closedir($opendir);
}
does anyone have any idea why it won't show a stamp for every file?
TIA,
Jule
Jule Slootbeek
[EMAIL PROTECTED]
Original Message-
From: Jule Slootbeek [mailto:jslootbeek@;clarku.edu]
Sent: Wednesday, November 06, 2002 1:52 PM
To: Marco Tabini
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] sql error
apparently 'where' and 'with' are keywords in Java, i've changed them
and now it works
rchar(255) not null ...
---John Holmes...
-Original Message-
From: Jule Slootbeek [mailto:jslootbeek@;clarku.edu]
Sent: Tuesday, November 05, 2002 9:43 PM
To: Marco Tabini
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] sql error
Ah i see, but then why will phpMyAdmin let me use it?
it works fi
t's indeed the problem?
Marco
---
php|architect -- The Monthly Magazine For PHP Professionals
Visit us on the web at http://www.phparch.com!
On Tue, 5 Nov
2002, Jule Slootbeek
wrote:
Ah i see, but then why will phpMyAdmin let me use it?
it works fine on my local db with these names, bu
he name of that
column to something else.
Marco
---
php|architect -- The Monthly Magazine For PHP Professionals
Visit us on the web at http://www.phparch.com!
On Tue, 5 Nov
2002, Jule Slootbeek wrote:
I know this is the wrong mailinglist, but i don't want to subscribe to
a second one
his is generated by phpMyAdmin)
i get this error:
ERROR 1064 at line 18: You have an error in your SQL syntax near 'where
varchar(255) NOT NULL default '',
with varchar(255) NOT NULL default '',' at line 5
where's the error?
i don't see anything wro
yeah i just noticed that myself too,
and unfortunatly people do code their html like that..
J
On Friday, Nov 1, 2002, at 21:44 US/Eastern, David U. wrote:
Jule Slootbeek wrote:
oops didn't catch two little bugs
Jule
function getTitle($url)
{
$file = @fopen($url, 'r');
if(!
quot;) >= 1) {
$rline = strip_tags("$line");
//return $rline;
//fclose($file);
break;
}
}
return $rline;
}
fclose($file);
}
On Friday, Nov 1, 2002, at 20:35 US/Eastern, Jule Slootbeek wrote:
hmm, figured it out...all of a sudden it did work:
here'
e);
break;
}
}
fclose($file);
}
On Friday, Nov 1, 2002, at 20:26 US/Eastern, Jule Slootbeek wrote:
well, i got it to read a html file, but the problem is that it reads
it after it loads it, so it doesn't read the tags, and i'm looking for
the string in between and
is
ay, Nov 1, 2002, at 17:45 US/Eastern, Jule Slootbeek wrote:
i thought fopen() was only for local files, didn't even bother
looking, but now i think about it..it makes perfect sence to open
url's as well, thanks a lot!
Jule
On Friday, Nov 1, 2002, at 17:42 US/Eastern, John Nichel
s -> fopen()
It was hidden.
Jule Slootbeek wrote:
hey
is there a way to get the URL header? the tags etc?
i couldn't find any function in the docs, but maybe i just don't know
where to look.
if there's a function that pulls in an entire page that;s fine too i
can work with th
hey
is there a way to get the URL header? the tags etc?
i couldn't find any function in the docs, but maybe i just don't know
where to look.
if there's a function that pulls in an entire page that;s fine too i
can work with that..
any help appreciated
TIA
Jule
Jule Slootbeek
[
hatever global code that goes at the bottom goes
>here, as well as the layout if $uselayout is true.
>?>
>
> I can't find any problems with this approach, what are everyone;'s
> thoughts on this?
>
> --
> The above message is encrypted with double rot13 e
i didn't install from source, i installed from an OS X binary i found
in the php website, i got a php.ini from someone else which i
'm suing, thanks guys!
Jule
On Tuesday, Oct 8, 2002, at 23:54 US/Eastern, CC Zona wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROT
> Like the other poster said, load up a page through
> your
> browser and PHP may tell you where it thinks php.ini should be. It'll
> be
> in the first block that appears on the page created by phpinfo().
>
> ---John Holmes...
>
>> -Original Message---
t; the page threw the server into the browser... and it should
> like the location in the top area.
>
>
>
>
> Timothy Hitchens (HITCHO)
> [EMAIL PROTECTED]
>
> HITCHO has Spoken!
>
>
>
>
>
>
> -Original Message-
> From: Jule Slootbeek [m
anywhere where this action could be done. So i was wondering if anybody
had experience with PHP under Jaguar, and could lend me a hand.
TIA,
Jule Slootbeek
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey list,
How do i check if my script has successfully run through an entire foreach() loop
do i just go
if (foreach ($answer as $a) { echo $a })
{
return TRUE;
} else {
return FALSE;
}
thanks in advance.
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
$query = "SELECT * FROM $table_quiz WHERE user_id='$user_id'";
$result = mysql_query($query);
$user_info = mysql_fetch_array($result);
$quiz_id = $user_info[quiz_id];
mysql_close($link_glob);
return $quiz_id;
>
> try:
>
> list($doo, $dah) = my_function();
>
thanks alot
that was it
list ($array['name'], $array['password']);
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.ph
Hey guys and gals,
if i have a function
and i return an array from it
function my_function() {
blabla;
return array ($array['name'], $array['password']);
}
how do i get this into an array on the page i call the function?
$array = my_function() doesn't work?
any ide
ccommended..
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey guys,
What is the best way for user authentication (now i'm talking about the
most secure and easiest way).
Now i've been using sessions, and i was wondering if cookies were better
and easier...
any thoughts?
thanks,
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheo
l_query($query, $link_glob);
>
>
>
>
OK that did fix the problem...:)
I am now going to sit in a corner and be ashamed of myself
thanks Philip and and everybody else...
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing
ps: it was still not working..
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
}
}
}
}
}
echo "Please enter the required information";
echo "
Name:
Email
Jule Slootbeek wrote:
> G r e g L a w r i e wrote:
>
>> It would also appear you are missing a closing ) at the end of the
>> '$query=...' line. You have two opening backets and only one closing.
>>
>> Greg
>>
>> -Original Message-
>
nt: Tuesday, 4 June 2002 7:50
> To: [EMAIL PROTECTED]; mysql; php-general
> Subject: Re: stupid error, please kick me (and send me a solution)
>
>
> Your missing your closing "}" at the end of the else statement.
>
>
> - Original Message -
> From: "
>entered into the database!\";
>>
>>Should be this:
>>} else {
>> echo \"Your Information has successfully been
>>entered into the database!\";
>> }
>>
>>HTH,
>>Jason Soza
>>
>>- Original Message -
27;, $link_glob');
if (!$result) {
echo "Your Information could not be
entered into the database,
Please contact the mailto:$webmaster>webmaster." . mysql_errno() .
": " . mysql_error() . "";
i'm using Mozilla 0.9.9 or is it from something else?
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
print ("");
include ("$righttop/$title$righttoptitle$extention");
print ("");
print ("");
print ("");
print ("");
include ("
s,
> Manu
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Regards,
Gunther E. Biernat
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;\n");
print ("$Array[article]\n");
print ("\n");
print ("\n");
print ("Posted by: $Array[name] on
$Array[postdate]\n");
print ("\n");
print ("");
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just do fopen and fwrite it prints both variables.
> any thoughts?
Show us your code.
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ables.
any thoughts?
thanks,
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
40 matches
Mail list logo