cheers Richard.
I didn't know about that mysql function...
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8y/S9HpvrrTa6L5oRAs9cAJ4jcd8dukhfdaJIla/irYNvnX2ZRwCgoIhU
WjS6nkU1UM44crfOGWlBxRA=
=RYIM
-END PGP SIGNATURE-
te but I'm afraid I still can't
work it out so some advice/help would be greatly appreciated :-)
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD4DBQE8y++SHpvrrTa6L5oRAh3xAJ9lfFdB1VW3KUHCWxnnksN+Uw950QCYpfg6
OCdApC0Nh/
> line 10 contains: session_start();
Put session_start(); at the very top of your script - make sure there is
no whitespace at the top as well.
Cheers,
Nick Winfield.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
apache is reporting that no data was sent but the parser has stopped
responding and is what it thinks is "done".
Could also be that the user apache runs under doesn't have access to that
directory.
Or i could be completley wrong too... who knows ;)
//Nick
-Original Messa
Following on the same subject (kinda) of Variable Variables... i have
actually wondered this before... is there a difference between these 2
blocks?? (both should print "worldhello" if i am not mistaken, but is there
a difference in how the nested variable is handled when it's inside curly
braces?
:-)
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux
ball them out about it I thought I'd ask your opinions :-)
Code..
Many thanks
--
---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
-- Nick Wilson -- |
ase let me know!!
Thanks in advance!
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ow can I change this?
Many thanks...
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: Gnu
nomdvd = '" . $nom . $i . "'";
$res = mysql_query($req);
while ($ligne = mysql_fetch_object($res))
{
print "";
print "";
print $ligne->resume . "";
}
mysql_free_result($res);
//---
Cheers,
Nick Winfield.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in advance!
//Nick Richardson
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Sounds like a good idea.
> I'm happy to help in any way I can, but don't consider myself "guru" enough
> to develop this from scratch.
I'd be willing to chip in my 2p (soon to be 2 euros) worth to get this off
the ground, but I couldn't commit to it
On Tue, 19 Mar 2002, Hunter, Ray wrote:
> Has anyone created a telnet session in php with sockets and can give me some
> help on setting one up?
Take a look at PHP Shell to see how it's done.
http://www.gimpster.com/php/phpshell/index.php
Cheers,
Nick Winfield.
--
PHP General M
I've scoured the PHP manual and I still can't seem to
find it. What I'm trying to do is have PHP grab the
size of a file or directory (say of a php file) then
when that file is displayed, I want it to display the
size of the file in the footer of the page. I would
also like to have the viewer of
e error on the last line (?>).
Replace:
$e = "Does not apply."
with:
$e = "Does not apply.";
Cheers,
Nick Winfield.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rs not. Can
anyone help? Many thanks in advance. NIck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uth_id);
break;
Why?
Many thanks
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD4DBQE8i5SQHpvrrTa6L5
I'm working with a simple form which submits field
data to a MySQL database. This is for the purpose of
generating a dynamic news page for my site.
Interestingly enough I've found that any time I try to
submit data that contains an apostrophe "'" it gives
me an error and will not send the data (
w.php.net/manual/en/ref.outcontrol.php
Good luck!
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8ifMRHpv
i dont know if this will work, but you can try selecting them in the
query... i.e.:
select * from database.table
I am by no means a guru on sql queries, but it may work.
-Original Message-
From: PHP freak [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 8:39 PM
To: [EMAIL PROTECT
e line says , i need to replace the text where the %% stuff is and set
it to $bgcolor,$textcolor,or $linkcolor respectively. -
I'm sure this can be done, but i'm just no good w/ the pattern matching
stuff... so if anyone has any ideas on this, please let me know!!!
Thanks
//Nick Ri
and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8iOFqHpvrrTa6L5oRAo/bAJ94ZrRHCVOos17kimfQpleQUz+K4wCgtJej
lrppUPI6EWDZVEG4Pm7Dtk0=
=kSca
-END PGP SIGNATURE
ut)
Since it kicks back the "1" and not a false, it seems it's getting access
but then not being permitted. Here's something else - the problem is
intermittent: sometimes the script can grab the images and others not.
Can anyone help?
Many thanks in advance.
NIck
--
P
I'm getting this error:
Warning: mcrypt module initialization failed in /home/www/common.php on line
314
When running this code:
And i can't find any documentation on what might be causing this... anyone
out there know?
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL
Anyone know how i can auth a username and password against the /etc/passwd
file?
Any help will be much appreciated!
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
-- We must come to see that the end we seek, is a society
|Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8gmzyHpvrrTa6L5oRAskdAJ9zMCCJuMSSe97qfj0RbbUUOdq3hQCePJw9
pb/ZAO3x1aztJa9zyowCd0I=
=Ct9D
-END PGP SIGNAT
ish.
If you're interested you can check out the project here
www.explodingnet.com/tools/php-contact-form/
see ya...
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Steven Walker declared
> Nick,
>
> If I understand the problem correctly, the form reset button doesn't
> work when the form is prefilled with POST data.
>
> To overcome this, I created reset button of typ
cts, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8f8mgHpvrrTa6L5oRAqZsAKCdaQkIQOgs1dTRbvHcfoEj9VYhiwCgk8r6
xlWPCeA3HyvhBeEYikNxMLM=
=itz4
-END PGP SIGNATURE-
--
PHP General Mai
is a
busy list.
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Nick Winfield declared
> I didn't catch the first part of this thread (rampant deletion ahoy) so
> please excuse if I am talking nadgers. The way I see it, if you are
> calling includes/requires from within other incl
On Fri, 1 Mar 2002, Nick Wilson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then DL Neil declared
> > > masterfile.inc lives in /var/www/includes/ and contains this line:
> > > include("/var/www/includes/anotherfile.inc
annotations!
Please don't RTFM me, that's the first place I went. I didn't find what
I'm looking for so I came here.
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8f1VMHpvrrTa6L5oRAogTAJ46IwBbwFVLnVhNEG2qIj9ZqzXX1QCeMinj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Simon Willison declared
> Nick Wilson wrote:
>
> >Is there a better way? It just seems like overkill to include 6-700
> >lines of methods /twice/
> >
> Use inheritance. Define a "base" class w
ious,
thanks once again for your help S.
- --
- ---
www.explodingnet.com |Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8fg/oHpvrrTa6L5oRAkxnAJ9KJW8jGUaXAQ9TI2NNI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone, a potential client just sent me this. Is it an old problem?
or a new one?
- --begin forwarded worrier---
Hi Nick
Did you mention that you use PHP?
I subscribe to a photo gallery site and they stopped uploads due to
---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8fe0UHpvrrTa6L5oRAgh5AJ9oXAQ4kMwj/neprZOQx1KZmpOWXACdFTiP
WAFmmGoE60Y079p39i
So i have a 'help' secion for an app i have done... and i'm lazy, so just
wanted to check if anyone knows where i can get this:
I want users to be able to search through the help section for specific
text... anyone know of a script out there that will do this...?
//Nick Ri
, and move on.
Later, i want to be able to retrive the encrypted string w/ the salt in it,
grab the salt and use it to decrypt the password. - Is this possible and how
would it be done?
Thanks in advance for any suggestions.
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROT
Is there any way to prepend a string into the top of a file? - only docs on
fopen show how to append to the end?
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
-- We must come to see that the end we seek, is a society
gt; Is it Ok...?
Yes, I think I see what you mean, I'ts similar to the first example of
Simons. I think I'll try the 'Pear like' one and hope it doesn't go
'Pear shaped'!
Thanks for the help
- --
- ------
ave seen the
:: jobbie before but thought it unique to Pear and not available to
mear mortals.
Thanks very much...
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and d
you see what I mean?
Many thanks.
- --
- ---
www.explodingnet.com |Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8e252HpvrrTa6L5oRAnKFAJ9+bWkCFst5Y1YB/y0E8bbgq
PHP seems to be completly ignoring this line...
Funny part is that i use this same line in another place in my code and it
works fine there... i have no clue - Need coffee.
} elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) {
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL
Right on!!! - This works great!!
Can you explain what it does ;) - i'm completly lost in it ;)
//Nick
-Original Message-
From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 8:02 PM
To: 'Nick Richardson'; 'PHP General'
Sub
he user decides they
dont like the way it turned out and try to discard and change it, even after
re-registering the variables in the session, they do not change to the new
input.
I hope someone out there can make sence of what i have said... because i
think i confused even myself ;)
Thanks f
x27; sql that does the trick.
Cheers!
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.
any thanks
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8eTgCHpvrrTa6L5oRAl0uAKCzvaf13t5bmwLDv
ghts on this.
Regards
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: G
in the db.
Is there a better way?
- --
- ---
www.explodingnet.com |Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version:
ming they're basically text I'm sure it can.
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATU
ed on certern criterion.
- --
- ---
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8dfaYHpvrrTa6L5oRApV2AJ9j19dxxZDCt
Actually, i have seen problems with this under Oprah and Netscape (dont ask
me why... it just seems kinda flaky.
So instead, use this:
a href="javascript:document..submit()">Login
//Nick
-Original Message-
From: Gary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February
es for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8c0+hHpvrrTa6L5oRAumoAJsHaXpZxDG96jggEmDpUfeBuLZ4yACfcZ9Y
z0RZghLTGBwdOC/DQ4apK6I=
=e+Vt
-END PGP SIGNATURE-
--
PHP General Mailing List (http://ww
--
www.explodingnet.com |Projects, Forums and
+Articles for website owners
- -- Nick Wilson -- |and designers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8crIiHpvrrTa6L5oRAibjAJ41syisweg3ZXUsPObKeyPH03GqNQCeITYc
lqLJIjZkfNt
it is that php reports the line it was on when
it encountered the error with isn't the same as where you've made your
mistake.
- --
- ---
www.explodingnet.com |Projects, Forums and
+ Articles
On Tue, 19 Feb 2002, Ben Curtis wrote:
> Not PHP itself, heh, but PHP scripts that you write. Moto scripts can
> be interpreted by moto, just like PHP, but the scripts can also be
> compiled as DSOs.
Don't suppose you have a URL where one could read more about Moto? =)
Cheers,
I've caught the problem BTW, I switched from testing with
if/else to a switch statement. Which says I was testing incorrectly (not
that I ever worked out why)
Cheers...
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP
'm testing the condition is like:
$test=myfunction();
if($test) {
do x
} else do y
Many thanks...
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
w to?
There is a very good article on this exact topic at phpbuiler.com
Have fun.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8ZkszHpvrrTa6L5oRAjYnAJ9Vox0Ora6hTtD1owtKBgP3PqSJ
hat seems to be it, I'm getting 'Access deneid to user
'@localhost'.
I'm talking to a guy on the mysql list, apparently it is a
phenomememememememmemonmmm that when you GRANT ALL using wildcards it
tends to grant all on * except localhost!
- --
Nick Wilson
Tel:+
you don't specify a link id then it assumes the
last connection or trys to establish one. (I've tried it anyway :-)
Come on guys, someone must be able to spot the 'gotcha'!
- --
Nick Wilson
Tel:+45 3325 0688
F
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then CC Zona declared
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Nick Wilson) wrote:
>
> > What would be the easiest way to see if a MySQL table exists with PHP?
> > I can do it by checking agai
command line so what's the problem?
(returns the die statement)
Much thanks..
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8ZYWRHpvrrTa6L5oRArthAJ9Vew5DIKSR7qzc4M2abhxJfp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Martin C. Petersen declared
> Do a select on the table - if the query returns true the table exists
> otherwise the test is inconclusive..
Yep, that'l do it. cheers.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
What would be the easiest way to see if a MySQL table exists with PHP?
I can do it by checking against mysql_list_tables() but that seems a
little clumsy. Is there a better way?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Arik Ashepa declared
> nice... anyone else has an idea?
How about a Haiku db?
The php list
a place for conversation
with other nutters
Hehe,.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
e on PHPLib vs Fastemplate on either devshed or
phpbuilder but from what I've read PHPLib is the way forward.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Rick Emery declared
> Do I detect a bit of Friday-afternoon sarcasm???
>
> Actually, a beer sounds good about now
Friday evening in .dk and php is always best served with a cold one!
- --
Nick Wilson
Tel:+45
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Arik Ashepa declared
> Hi.
> I was wondring...
> maybe you want to develop a project?
> have any ideas?
Yes! How about a database backed set of scripts to create world peace
and send a steady supply of beer to my house?
t();
session_register('the_var');
$the_var="is this the problem?";
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8ZCj4HpvrrTa6L5oRAoQJAJ91jzJYx0KV9Su+8/aJuoI
ls it?
It makes more sense to me to have all the error checking and validation
done /before/ passing it to the method as one of the concepts of classes
is that their methods are very simple and specific.
However, I wondered what you all thought on this?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:
I can't promise to help but I'm intrigued
for sure.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8WPMdHpvrrTa6L5oRAh13AKCyIehQf7Ab6V3fkai9IYMfEfC6WwCeNGuf
ZpQO
nk I sent you:
Yes, and just to add to that I don't think I've /ever/ got worthwile
results trying to use pconnect. It just causes problems as far as I've
seen myself.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SI
ng you trouble?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8WGgGHpvrrTa6L5oRAsmeAJ9G/qipZy2xNny6SafxkCHXn5TULACeO8Ui
yjiV6QhOFA6tXtQPu/vdBxE=
=POqY
-END PGP SIGNATURE-
-
ompile-time error.
Does the URL have vars in it? like ../index.php?var=hi&var2=there
Just curious.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Vers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Zach Curtis blurted
> Is there a limit to the number of key=value pairs that can be stored in an
> array? Or is this more a function of RAM limits?
AFAIK it would just be a resources issue.
Are you just curious, or.?
- --
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Eduardo Melo blurted
> Someone knows how to use the IF command ?
Have you Read The Fine Manual Eduardo?
Try www.php.net I'm not sure if there is a translation for your language
though.
- --
Nick Wilson
Tel:+45 3325
Micheal said that you'll notice the
difference.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8VWxxHpvrrTa6L5oRAkCUAJ9aeWdNyTOXPBCi09C2tznk7Fw02QCgnCoC
RhQrSJDs4mw8W
;re serious you might want to post your question on the MySQL list
or something similar.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8VWVPHpvrrTa6L5oRAoIHAJ4q43y5nSlmvMlfz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Edward van Bilderbeek - Bean IT blurted
> Hi,
>
> a possible solution is also to provide the backbutton href with the original
> variable values...
I'm pretty sure he means the /browser/ back button though.
- --
session var on page 1 *after* a successfull query.
At the beginning of page 1 test to see if the var is set,
If so just print the peoples names as if the query were run, if not
run the query.
I have no idea if that will help but I hope it provides a little
inspiration anyhow :-)
- --
Nick Wi
want to know wether one was replaced by 1.. or wether the term "one"
> exists at all in the template.. any ideas on how to find this out?
No. Not AFAIK
What are the circumstances Kunal?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Paul A. Procacci blurted
> He meant push
Hehe, I didn't think of that. Actually I didn't mean push /or/ pop in
the array sense of the word, I meant *put* as in create!
I'll take more care in future :-)
- --
Nick W
lays
>$nr1... next time it displays $nr 5.. etc)
> how can I achieve it ?
Pop them all into an array and use array_rand()
See manual for details.
HTH
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Jeff Sheltren blurted
> Hi. Have you tried something like:
>
> \n"); ?>
*Good* idea, tell us if it works!
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Michael Kimsal blurted
> What are you asking for?
Yeah, a little detail please :)
I don't even wana click it unless I know why, but then I'm just
paranoid!
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45
better solution than Short_open_tag
Hmm... I had that problem too, the only I solved it was by using
templates. I know that may not help, sorry, just wanted to let you know
that it can be done. I'll follow this thread closely as *proper* XHTML
is a subject close to my heart :)
- --
Nick Wils
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman blurted
> I have to exchage over 304 different names, codes, and dates ...
305? :-)
Doesn't sound like it would be a problem.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325
t you're
involved in?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8UvbrHpvrrTa6L5oRAtrWAJwLocc8/xRHK5kTN2S1HY3BXmQ2NQCdELrK
FfZO6YoOZUEXonb6fNz3Z10=
=wuoa
-END PGP SIGNATURE-
nd then in your template code.
$t->set_var("htmlOutput", $htmlOutput);
Hope that's what you mean
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8UtA5HpvrrT
y interested to hear if anybody is getting this from me. As
far as I know There is *nothing* wrong with my messages. Perhaps there
is somthing wrong with 'Outhouse' on your machine :-)
> but whose contributions are often much appreciated!
er Thanks, I think?
- --
Nick Wil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Erik Price blurted
> On Friday, January 25, 2002, at 04:24 PM, Nick Wilson wrote:
> >
> >Try to keep your posts a little shorter
> >if only for the sake of the dial-up users ;)
> >
>
>
it was designed to be
used in a switch statement to 'break' from the statement.
It replaces the need for complex and untidy 'if else' monsters.
Try to keep your posts a little shorter
if only for the sake of the dialup users ;)
Cheers
- --
Nick Wil
essage = "line1\n";
> $message .= "line2\n\n";
> $message .= "line3\n";
>
> but when the email is received not all the new lines r taken. Can anyone
> help me. Also where can I get a list of all the special chars like \n
> and what they meain.
I thi
now exactly what I am
> looking for.. =)
Check out $HTTP_USER_AGENT
It contains all you need.
There is a good tutorial on this at www.sitepoint,com (you'll have to
search) and all the other good sites have covered it.
eg,
www.phpbuilder.com
www.devshed.com
Have fun.
--
Nick Wilson
Tel:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Andrew Hill blurted
> Nick,
>
> Dunno, but in my experience (and that of a few people who also opened bugs
> on it) any path info that is not "real" causes the CGI to bomb out with an
> "Internal Server
se a problem though won't it (i think I wrote my
example URL this way also!) as the index.php gets in the way. Hence the
use of a .htaccess to force php to treat a file called 'index' as a php
file. Like:
URL= http://you.com/index/cars/ferrari
- --
Nick Wilson
Tel:+45 3325 068
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Andrew Hill blurted
> Note,
>
> This will not work with PHP as a CGI.
How come?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: Gnu
501 - 600 of 756 matches
Mail list logo