Richard Davey schrieb:
Tim wrote:
Ross schrieb:
I want to trim any whitepace and check if it is empty in the same
line this is not working.
if (empty(trim($_POST['_createcategory']))) {
Hi,
try this:
if (isset($_POST['_createcategory']))
{
$value = trim($_P
s expected?
Regards,
Matt
Hi,
maybe it's because of the whitespace after the
Best regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s that cover this type of datatransfer ie: javascript->php.
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Tijnema ! [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 30 mars 2007 16:56
> À : Tim
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] Saving css state in javascript and passing
> to php via form submit
>
> On 3/30/0
> -Message d'origine-
> De : Tijnema ! [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 30 mars 2007 17:06
> À : Tim
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] Saving css state in javascript and passing
> to php via form submit
>
> On 3/30/0
> ps. Maybe you could also use AJAX instead of submitting forms
> > > > > the whole time.
> > > >
> > > > In the next version of my framework i would like to, i still
> > > > havent quite understood the whole concept, not enough research
> >
of storing
the current state :P
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;m more familiar with your input i oppted for this list ;)
Tim
> -Message d'origine-
> De : Richard Lynch [mailto:[EMAIL PROTECTED]
> Envoyé : dimanche 1 avril 2007 07:39
> À : Tim
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] Saving css state in javas
#x27;t we tone it down in here where their is some
resemblance of peace? ;)
Regards,
Tim
> -Message d'origine-
> De : Jarrel Cobb [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 13 avril 2007 15:24
> À : Robert Cummings
> Cc : tedd; [EMAIL PROTECTED]; Jochem Maas; [EMAI
uot; all sub-elements of a float element you
will end up tearing less hair out then you would by mixing non float
elements with float elements, try giving that img a float:left style and see
what happens...
Also what is that br doing there? Could you give more code onhow you are
generating this thumbnail ta
Oh and if it really is a pure css problem try a css list ;)
> -Message d'origine-
> De : elk dolk [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 13 avril 2007 16:16
> À : [EMAIL PROTECTED]
> Objet : [PHP] IE6 & PHP
>
> Hi all,
> I have a bunch of thumbnail images that link to larger
>
> -Message d'origine-
> De : Jochem Maas [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 13 avril 2007 16:32
> À : Tim
> Cc : 'Jarrel Cobb'; 'Robert Cummings'; 'tedd'; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Objet : Re: [PHP] WWE
> -Message d'origine-
> De : tedd [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 13 avril 2007 16:37
> À : Tim; 'Jarrel Cobb'; 'Robert Cummings'
> Cc : 'tedd'; [EMAIL PROTECTED]; 'Jochem Maas'; [EMAIL PROTECTED]
> Objet
27;filename'] && strlen($_POST['php_editor'] == 0) {
$file_path = '/tmp/' . $_POST['filename'];
if (file_exists($filename)) {
$file_content = file_get_contents($filename);
}
}
$content .= '';
$content .= 'Filename:';
$content .= 'PHP:$file_content';
$content .= '';
$content .= '';
?>
There is now :P
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Tim [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 13 avril 2007 18:19
> À : 'Philip Thompson'; 'php General List'
> Objet : RE: [PHP] PHP editor
>
>
>
> > -Message d'origine-
&g
a to buy a few of books on the
> subject like the PHP Cookbook, MSQL Cookbook, PHP Developer's
> Cookbook and PHP Security (not a cookbook). As you see, I'm
> big into Cookbooks.
Also can i reccomend:
"Web Database Applications with PHP and MySQL"
>
> How
to upload
images :P
You have a suggestion for that by any chance Tijnema?
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tim says:
forwarding to list as was sent to me directly:
Thanks everyone, I'll look into all of this. I'm trying to learn all of
this since I'm starting school next semester for Computer programming and am
trying to get some understanding of the concepts by building web pag
scheme, hostname and absolute path, but some clients accept
relative URIs. You can usually use $_SERVER['HTTP_HOST'],
$_SERVER['PHP_SELF'] and dirname() to make an absolute URI from a relative
one yourself
Could this be your issue? I always use full URI for "header('location:"
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Tim [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 16 avril 2007 19:54
> À : 'Ross'; php-general@lists.php.net
> Objet : RE: [PHP] Re: header('Location:') works locally but
> not remotely
>
>
>
> >
dering how you get this
"internals" information you all seem to know so much about, it is very
interesting and i'd like to add it to some of my "late night" reading if
possible :)
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Jochem Maas [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 17 avril 2007 16:19
> À : [EMAIL PROTECTED]
> Cc : Robert Cummings; Tim; 'Jarrel Cobb'; 'tedd';
> php-general@lists.php.net
> Objet : Re: [PHP] WWE
one on a different
server all together.
What do you think?
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This script worked on one server, but started choking after I moved it
to a new server.
Summary: I use the php_auto_prepend script to start output buffering,
then use the php_auto_append script to extract the content between the
title tags and between the body tags. When the size of the conte
bove and including
$body = preg_replace("/.*/iU",'',$file_text);
// strip everything after and including
$body = preg_replace("/<\/body>.*/i",'',$body);
Works lik a charm!
Thanks :)
Tim
Since you're looking for certain tags, it stands to reas
s
> > the
> > session_start() then the if( ) block and after that the
> login script
> > registering the $_SESSION's. I moved the login script to
> the middle of
> > the
> > session_start() and the if( ).
>
>
>
> Am I the only one that us
rstanding of your script wich then leads
itself into 3. easier debugging
(yup their are a lot of people who have scripts that "work" but don't really
know why! )
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cript
that filters xss.. You might even be able to modify it to suit your needs
and/or to harden/better it...
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
case 13:
return 'swc';
case 14:
return 'iff';
case 15:
return 'wbmp';
case 16:
return 'xbm';
default:
return false;
}
}
else
return false;
}
Best regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
faster than getimagesize because it only
gets the file type. getimagesize does also get the width/height, MIME
type, etc. I think getimagesize depends on exif_imagetype and will work
even if exif is disabled, but I am not sure.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
.
So no I don't think he's on crack mate :)
> > Take a look at my earlier questions with the subject "A general UL
> script" and
> > the replies with various ppl here 'bout the use of $_FILES.
> > This way it will check anything listed in the file(s) input of form(s).
>
> er, whatever. whose next?
Some people generate large amounts of irrelevant crap traffic for nothing
imo :)
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Jochem Maas [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 12 décembre 2006 14:10
> À : Tim
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] file uploads Q?
>
> Tim wrote:
> >> Børge Holen wrote:
> >>> O
time variable and a location variable.
But then I wonder what affect this has regards to html standards?
Are dynamic meta tags depreciated?
Regards,
Tim
> -Message d'origine-
> De : Stut [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 12 décembre 2006 19:52
> À : [EMAIL PROTECT
time variable and a location variable.
But then I wonder what affect this has regards to html standards?
Are dynamic meta tags depreciated?
Regards,
Tim
> -Message d'origine-
> De : Stut [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 12 décembre 2006 19:52
> À : [EMAIL PROTECT
> -Message d'origine-
> De : Youri LACAN-BARTLEY [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 13 décembre 2006 09:09
> Cc : 'php'
> Objet : Re: [PHP] php redirection..
>
>
> Tim wrote:
> > Just a quick question regarding this issue.
> >
t is
wrong??
--
";
echo "";
echo "F1F2";
echo "HiHi";
echo "";
echo "";
?>
--
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
PHP 4.3.0 or
higher but then I still don't have a clue how to actually *do* it...
Is it even possible to read binary files created by C software and if so,
how to do this in practice - examples would be very welcome.
Thanks in advance,
Tim
--
PHP General Mailing List (http://www.php.net
only checked checkboxes are submitted therefore you have to number
the form fields if you want to keep the relationship between the arrays
- this should be easy enough if the form is generated by your code.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message
everything you need is here
http://www.php.net/manual/en/ref.filesystem.php
in particular fopen(), fputs(), fwrite(), etc.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Decembe
not quite ...
if the form elements are (e.g) , etc.
then you need $_POST["array"][0] to refer to the element
(just like any other array of arrays in PHP).
but you're right about count($_POST["array"]) ...
and foreach ($_POST["array"] as $key=>$value),
I like arachnophilia.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: John W. Holmes <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 07, 2002 4:11 PM
Subject: [PHP] Simple text editor for Windows?
> I know
how about something like...
$start = time();
$timeout = 60; // number of seconds to try
while (!$file = fopen("...") && time() < $start + $timeout);
if ($file)
{ // do stuff with file
}
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message --
store them in a session or cookie
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Stephen <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Sent: Sunday, December 08, 2002 8:10 PM
Subject: [PHP] Hiding URL Variable
> How can you hid
t the function names wrong - I use an
abstraction layer these days
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Steve Jackson <[EMAIL PROTECTED]>
To: PHP General <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 3:24 PM
Subject: [PHP] H
The best way would be to design the table so that it had an
item_id field that was an auto-incremented integer and not
updateable. It shouldn't be too late to add such a field, then it
can be passed from the form as a hidden field (as I assume
you're currently doing with $oldItemCode).
you can always return an array of arrays ...
return array($array1, $array2, ...);
but in your case why not make the column names
the array keys so the one array holds both column
names and types.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Lisi
f id and proceeds
accordingly. Thats why you can get away with not using the
quote marks (as long as there's no white space in the string).
On a live site (and, I'd have thought, most default set-ups)
you'd expect error reporting to be set all off and you'd
never see the
mysql_insert_id().
5. insert the data into the other table(s) with this order_id().
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Ashley M. Kirchner <[EMAIL PROTECTED]>
To: PHP-General List <[EMAIL PROTECTED]>
Sent: Tuesday, December 17,
what do you mean by key pairs - I assumed you
meant a key that could link the records in each table.
If you've already done that then what's the problem?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Ashley M. Kirchner <[EMAIL PROTEC
looks ok as long as you are really testing what
you mean to. As you've written it if any of the variables
are an empty string, zero, logical false or not set then
the if statement will be true.
what is $auth?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Me
you could use a combination of the string functions
(strstr(), substr(), strpos()) or you could work out
something with regular expressions.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Mako Shark <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
t return the object it creates!
Someone knows why this ain't working and how to solve it?!? Hope so, can't
wait to hear from you guys.
Thanks in advance,
Tim Molendijk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
child->parent->property . '';
> >
> >?>
> >[end code]---
> >
> >Now the problem is: IT DOES NOT PRINT TWICE THE SAME!!!
> >Instead it prints 'two' and then 'one', which indica
I get browser to cache image.php?id=1 (...
etc.) just as it caches image1.jpg (... etc.)?? The only thing I've thought
of is using mod_rewrite to rewrite URI's like image1.jpg into image.php?id=1
but I haven't tried it yet -- don't know if it's a logical idea.
Thanks in adv
ck(). So like this:
$f = fopen('profile', 'r');
$binaryData = fread($f, filesize('profile'));
$data = unpack('a32id/[...etc]', $binaryData);
My problem is: which formats should I use for char vala:3, char valb:1 &
char valc:7 ? In other words: what should
tried a lot of syntaxes but none of them seem to work. Can
someone please shortcut whether it is possible or not and if yes, *how*?
Thanks in advance,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uploaded file to be written directly to disk.
Is there any settings for this?
Server info:
Cobalt RaQ 4
512 Mb RAM
Cobalt Linux release 6.0 (Shinkansen-Decaf)
apache 2.0.43
PHP 4.2.3
/Claes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
isset($_POST["chk1"]) will only be true if the checkbox is checked.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: John-Erik Omland <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 6:25 PM
Subject: [
use the date() function, in this case date("i") and date("h") or date("H")
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Pag <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003
you're not differentiating between form elements on different rows.
all the hidden elements have the same name and are in the same
form so only the last one will be available as all the submit buttons
are in the same form.
you need to put ... tags around each submit/hidden
pair.
Tim Ward
surely you can post the part of the code that checks
the e-mail is blank or not?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Mike Bowers <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 12:04 AM
Subject:
print "";
print"";
print"";
you'll then have as many forms as you have rows and which
one is submitted will depend on which button is pressed.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Denis L. Menezes <[
y, I'd contact the ISP and ask
them directly, however it's been several weeks since they've answered the
phones.
Does anyone have any other/better options that I should pursue? This will
be my first mass mailing typed job so I'm not really sure where to begin or
if I'm o
Hi,
I've created a password protected area on the site I'm working on using PHP
Sessions - I've done this several times before without any
difficulty. This time, I've copied my old code - made the necessary
changes for login/passwd/database names, yet the sessions don't appear to
be working.
le-mbstr-enc-trans'
'--enable-track-vars' '--enable-wddx=shared' '--enable-mm=shared'
'--enable-xml' '--enable-ftp' '--disable-debug' '--with-libdir=/usr/lib'
'--with-db3' '--with-interbase=shared' '--with-pgsql=shared' '--with-ldap'
'--with-imap' '--with-curl=shared' '--with-pdflib=shared'
Settings:
allow_call_time_pass_reference OFF
extension_dir /usr/lib/apache/php
magic_quotes_gpc OFF
register_argc_argv OFF
sendmail_from [EMAIL PROTECTED]
variables_order GPCS
Thanks
-Tim
cords and make changes to
the site).
I'm at the point of desperation and sleep deprivation ... If there are no
obvious PHP settings that need to be altered - what else could be producing
this problem?
Thanks
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
erver that does not
work - 4.1.2 ... and from the server that does work 4.2.2
After the Configure Command of each is a list of settings that differ.
Much thanks for responding so quickly and at such a late hour!!
Thanks
-Tim
PHP 4.2.2 (works fine)
'./configure' '--with-apxs=/
pt to change a PHP setting through .htaccess since it is hosted on a
shared server.
I've tried the example from the manual on several other sites - works
everywhere but on this problem server.
Thanks
-Tim
At 05:56 PM 1/21/2003 +0800, you wrote:
On Tuesday 21 January 2003 17:39, Tim Thorburn w
4.1.2 - and make
much sense in the long run.
Thanks
-Tim
At 05:19 AM 1/21/2003 -0500, you wrote:
> Yes, the examples from the manual do work on the server using PHP
4.2.2 -
> however they do not work on the server using PHP 4.1.2.
>
> I've been using this same script for many sites w
off the top of my head
SELECT risk_level, COUNT(risk_level) AS rl_count GROUP BY risk_level
should do it, though I'd have to experiment with what's inside the
COUNT().
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: [-^-!-%- <[EMAIL P
session_start();
echo "Members only";
// check session variable
if (session_is_registered("valid_user"))
{
echo "You are logged in as $valid_user.";
echo "Members only content goes here";
}
s set to ON and register_argc_argv ON as
well ... I'm not entirely sure what register_argc_argv does, but could this
be the problem?
At 09:41 PM 1/21/2003 +1100, Justin French wrote:
on 21/01/03 9:25 PM, Tim Thorburn ([EMAIL PROTECTED]) wrote:
> There is some discussion as to whether m
}
}
// then do ...
foreach($partners as $services)
{...
foreach($services as $service)
{...
}
}
this may not be quite what you need but you get the general idea.
looks like services as effectively a many to many link table, nothing
wrong with that as far as I ca
Just to add a little fuel to the fire, the only way I've seen or been able
to get PHP and Apache 2 working together is by installing each from my Red
Hat 8.0 CD's. When I tried to compile each together, I got many an error.
When I start doing some actually web work on my testing server, I imagi
I am crossing over from ASP to PHP and was wondering how to get the same
affect as request.questring ? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
your query needs to be inside the foreach loop
so that it runs for every item, at the moment it
just runs after you've scanned through all the items
so just does the last one.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Steve Jackson &l
what version of PHP? try $HTTP_POST_VARS instead.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Steve Jackson <[EMAIL PROTECTED]>
To: PHP General <[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 1:14 PM
Subject: RE: [PHP] Update
if 'EXTENSION' is unique then you can make life
a lot easier by making that the key of the root array
(this is a heirarchy of arrays).
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Chad Day <[EMAIL PROTECTED]>
To: php general <[EMA
t; '", "',", "')"), array("('",
" ''", "',", "')"), $sql).'';
mysql_query($sql, $desDB);
}
?>
Any idea?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and by the way, the query on line 16 (the problematic one) works fine when
run directly in MySQL.
Tim
"Tim Lan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
The following code is supposed to migrate data from an old database to a n
Thomas,
I changed it so that the two connections use different username/password
combination, and everything went smoothly.
Thank you very much for your rapid response.
Tim
"Thomas Seifert" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
howabout making the checkboxes an array i.e.
then when processing ...
foreach($_REQUEST["checkbox"] as $checkbox)
{ ...
}
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: anders thoresson <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
the function with the same name as the class is the
constructor and is called when the instance is created.
So "$first = new first" runs first::first() without passing
any parameters hence the warning.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message
ocal
machine.. that even I can understand.
Thanks
Tim Burgan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ROTFLMAO!!
Strong Bad on PHP ... we totally need to make Strong Bad the PHP mascot ;)
At 03:32 PM 2/13/2003 -0500, you wrote:
Do you know how many internet etiquette rules you're breaking by typing in
all caps like that? Well you're breaking one. Don't type in all caps.
--Strong Bad
Anyw
you need to use $_POST["userid"], etc.
accessing the form elements by name directly is
unsafe and doesn't work anyway with
register_globals off, which is the default
setting in your veresion of PHP.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Mess
hi,
if you can use Perl scripting in your site, have a look at this script
http://www.fluffy.co.uk/fs/
it will not be of any help for the php pages , but will be fine for the html.
HTH
t.
> -Message d'origine-
> De : David Otton [mailto:[EMAIL PROTECTED]]
> Envoye : mardi 18 fevrier 20
PoserSQL? do you mean PostgreSQL?
my favorite is PHPBB (www.phpbb.com)
HTH
t.
> -Message d'origine-
> De : Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
> Envoye : mercredi 19 fevrier 2003 10:25
> A : [EMAIL PROTECTED]
> Objet : [PHP] BBS software in PHP?
>
>
> Can anyone recomme
the just the first row)
if ($result = mysql_query("..."))
{if ($array = mysql_fetch_array($result))
{...
}
}
// for multiple return rows
if ($result = mysql_query("..."))
{while ($array = mysql_fetch_array($result))
{...
}
}
Tim Ward
http://w
I'd use ...
WHERE UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(sUpdated) > 60*60*24*60
but I'm sure someone will come up with something more efficient.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Philip J. Newman <[EMAIL PROTECT
Hello everyone. This is kinda off topic but im new. Not to php the list. Im going to
post some of my php in here for the fun of it. Incase anyone needs some cool php or
anything. Thankyou.
--
- Tim Hoffmeyer
- Zizzo.biz
appreciated.
Thanks,
Tim
-
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
i need to uses reg ex to change to
the < brackets have to be represented using < and >
I have tried so many ways, but none work. here is an example of my
faliure.
$body =
preg_replace("/(href=\/?)(\w+)(>\/?)/e","'\\1'.'\\2'./'target=_blank/
'.'\\3'", $body);
Thanks
Hello people,
I updated my linux apache server to php-4.3.2. It works fine but the
promised 'embedded' gdlib 2 doesnt seem to work. gd_info always ends in
'call to undefined function'.
Can anybody tell me what's wrong or how to get gdlib 2 working?
Thanks.
--
PHP General Mailing List (http:/
I have just recently written a complete webmail software using PHP, and
need to implement features that determin whether the email has been read
or not.
The function imap_setflag_full can set the flag, but i have no way of
seeing which e-mails have what flags.
imap_search allows you to search
tell if an email was not sent to a
specified address? I'm on a shared server, so I don't have access to logs
other than the standard ones from apache for web tracking.
We're using PHP 4.3.0, MySQL 4.0.13, and Apache 1.3.26
Thanks
-Tim
--
PHP General Mailing List (htt
ved HTML
email before with Outlook Express on my machine without changing any
settings at all. Also, I had sent an email from my script to hotmail and
the HTML email worked fine there too.
Any thoughts?
Thanks
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Thanks to all those who responded, as always, spelling is key. Where I had
-Type: text/html ... it should have read Content-Type : text/html ...
So it works for now, and hopefully will continue to. I know that there are
a number of email programs out there that do not support HTML mail, as wel
d movieclips etc. and want to do the
next step which is to combine that with databases (I'm currently using text
files, files on a webserver etc.)
thanks
Tim Baker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, Lazy typing!
Thanks for the quick response!
Tim Winters
Creative Development Manager
Sampling Technologies Incorporated
1600 Bedford Highway, Suite 212
Bedford, Nova Scotia
B4A 1E8
www.samplingtechnologies.com
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Office: 902 450 5500
Cell: 902 430 8498
101 - 200 of 1118 matches
Mail list logo