...
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check it
> out in the manual... it *may* be needed to get what you want.
Great, thanks everyone. Just wondered if it would have problems with
asort() and the dates in the filenames like:
* 02-11-23-whatever.php
* 02-12-03-whatever.php
Cheers...
--
Nick Wilson // www.tioka.com
--
Hi all,
I must be missunderstanding something here, I have this in an php 'upload
form':
So why won't it upload a 1.5MB file?
Many thanks
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Jason Wong declared
> On Thursday 28 November 2002 02:02, Nick Wilson wrote:
> > Hi all,
> >
> > I must be missunderstanding something here, I have this in an php 'upload
> > form':
> >
> >
> >
> > So why won't
ipt on another machine I guess Thnaks for the
help Ernest...
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Nick Wilson declared
> Next step, try the script on another machine I guess Thnaks for the
> help Ernest...
Could it be an Apache 2.0 thing? -- just upgraded. THis is what I get:
Request entity too large!
The POST method does not allow the data transmitted, or th
* and then Van Andel, Robert declared
> One problem may be your browser timing out before the end of the script. Another
>may be (although I'm not 100% sure) is that the file excedes the max memory set aside
>by PHP.
Thanks Robert, that's not it though..
est. It works fine on my hosts machine running 1.3 so
I'll downgrade my version as well, as rasmus has pointed out
Thanks for all your help ;-)
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for the html/css
Anyone make a recommendation?
Many thanks...
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
done it and be willing to share. ;-)
Many thanks...
--
Nick WIlson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ar in the user comments section of:
>
> http://us2.php.net/manual/en/function.nl2br.php
Bad, bad Wilson!
I never really think to look there, thanks very much I'll check it out
right now!
--
Nick WIlson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is to create a dynamic menu of the directory: The files are php
scripts that assign $title (among others) to Smarty templates.
I need to get $title from each file
I had a look through the docs and didn't see anything obvious, which is
why I'm here :-)
Many thanks...
-
help would be very greatful.
I think you'll need to start from the beggining and post specific
problems. That's a bit vague to get a decent answer Also, we don't
even know how the system works: Does he have the ability to create
unlimited emails? The permissions
a look at the exec() function but there are
better qualified people here to answer that kind of question... anyone?
> BTW, I don't declare. I demand. ;)
hehe, right!
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: G
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I'm using cookies to pre fill a form and, I can't work out why I can't
get the stripslashes() function to work?
Are there any common pitfalls you can think of, I've tried just about
everything...
- --
Nick Wilson
27;val']); and all is
cool!
Thanks very mucn...
- --
Nick Wilson // www.tioka.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD4DBQE9h0y8HpvrrTa6L5oRAhd6AJY4UEp63qtfp25j/ZghCNT7ffCPAKCmdyML
iGLvRSAh7RSiHSuL60rdTw==
=YIVc
-END PGP SIGNATURE-
--
PHP General M
bpage is refreshed.
>
> http://www.tufat.com/chat/
Well I just get some dodgy html code showing up on your demo pages...
- --
Nick Wilson // www.tioka.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9h2VcHpvrrTa6L5oRAlF4AJ0bh2uoBHIXFgYJgnD5BVwjdRrnlwCglXxQ
qtS4
Forgive me if you guys have seen this. Just read it on
www.webmasterworld.com
Yahoo moves to PHP
http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
ttings'".
How can I solve this please? I thought what I was doing was fairly
sensible but
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Nick Wilson declared
> Hi all,
>
> In a php class I'm using I do this:
>
> require_once('db/settings.inc'); // just hold db properties
Ooops, sorry everyone. Just noticed that one of the classes does *not*
use require_once() but require() -
herent problems with that?
Many thanks!
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8/ejLHpvrrTa6L5oRAjf5AJ98ew6rICv4DUAqACXXu1Ru7TxYBQCfbKxn
yzTmfMgihXvX65sY/bCMMDA=
=zRNV
-END PGP SIGNATURE-
--
PHP G
an author just switches
browser to vote for his own article?
I like the idea of cookies regardless, I guess I shouldn't be over
paranoid about it. It's unlikely that anyone would really want to go to
all the trouble anyway.
Cheers
- --
Nick Wilson // www.explodingnet.com
-BEGIN
ers so
I think this an unlikely scenario but it still bugs me a little.
Any thoughts guys?
- --
Nick Wilson // www.tioka.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8/kAxHpvrrTa6L5oRAtShAJ4ozLMEysSZfCnK8/Vf8QdDaNYVhgCfSz+/
chjIThp9tnI5vSApB6M6yhc=
=uYqL
-
Does anyone happen to know why is it that makes it different???
Yes. I had something similar. Try putting 'Reply-To: [EMAIL PROTECTED]' in
the fourth argument for mail. For some reason some systems balk without
a reply address, I'm not certain why?
- --
Nick Wilson // www.tio
ry simple, fast and effective
class.
- --
Nick Wilson // www.tioka.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8/kEMHpvrrTa6L5oRAj7IAJ4+C1jjyWCOoyjy9lGppGLhGrtqoACeIUCu
/Lly+6/QL8Wz0PRw2bkzHng=
=ZBn2
-END PGP SIGNATURE-
--
PHP General Mailing L
/ good!
Any opinions on this most welcome ;-)
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8/mFGHpvrrTa6L5oRAr94AKCGUwvJBNzJw2LCG9B1lyVjH4GcKwCfa3iC
rRf86gMz1yv5yIDjEIRaAK0=
=bYBY
-END PGP SIGNATURE-
--
PHP Gen
lack of one vote throws your survey off
> that much then you don't have a large enough sample anyway :)
Agreed. Thanks everyone ;-)
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8/mxzHpvrrTa6L5oRAqIoAJ9bCz+s7HK/DC
Hmmm I've had a problem with this: I have --enable-trans-sid but I
see url appends on my browser when I *know* cookies are working.
Any reason for that?
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Ragnar declared
> What is the best way to display images in the browser with php? If i for
> instance have the pictures in ..\pictures\
print("");
Or did i misunderstand you?
- --
Nick Wilson // www.
tuff. If an SE like google as a good example picks up the
PHPSESSID=slkfjdsjfsdlkf and then comes back and gets a different id
next time you can lose page rank for duplicate content.
Big deal indeed i'd say.
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE
my php at fault but
something is eluding me? Any help much appreciated.
Cheers
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9AOBMHpvrrTa6L5oRAlrHAJsFxqiqk2Oz6RL9P93IERwCfgSoYACfdyh2
+U3Pxm88E/WmpGkujjzaAs4=
=ywLb
--
s the point, sessions are
supposed to be independent of weather the user has disabled cookies.
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9AOX7HpvrrTa6L5oRAoyOAJ9S0ftsfAMrOF8pJjQEs6GHl2yTKACfZMBv
NCoMV70tkQJCmeyflEbEzd8=
=I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Anti-Blank declared
now I am getting a parse error on lines 30. Included are the original
Which is line 30?
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Chris Sechiatano declared
> You have to code the PHPSESSID into your URL if your browser has cookies
> disabled or else it won't work.
No. As I said, i have php compiled with --enable-trans-sid
- --
OST_VARS as $key => $val) {
$myFormData['$key']=$val;
}
Then you just register the $myFormData and it will be available to you
whenever you need it.
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Nick Wilson declared
> How about something like this:
>
> foreach($HTTP_POST_VARS as $key => $val) {
> $myFormData['$key']=$val;
> }
Actually that may be a little redundent. You may well
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Dan Morris declared
> Is there anyway to get rid of this message:
>
> Warning: Too many connections in xxx on line xx
Can you show the code that connects?
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP
ated!
Can you show an example of name.txt and the error you get?
I'm guessing but I reckon name.txt should be re written as name.php and
work like this:
some nice aritcles text marked up here
EOF;
?>
and then in articles.php you should just print $text to where you want
it.
- --
Nic
print("3");
return FALSE;
}
print("4");
return TRUE;
}
heres what I do:
$new=new news();
$news->set_title($title);
$news->set_text($text);
$news->update();
ught
I'd ask here if anyone had a *better* suggestion?
Many thanks
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9CQyyHpvrrTa6L5oRAtJdAKClDX77zJsH5LUSkaRG0KP6DEpJ2wCeK9BC
/WpypUV5ygtcBN/hwogsBeg=
=s+ae
-END PG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Julie Meloni declared
> You could use the substring() function in MySQL (or a similar function
> in your db of choice) to make the db do the work instead of PHP.
Nice, I'll look it up. Cheers Julie.
- --
gt; $val) {
unset($key);
}
return TRUE;
} else return FALSE;
}
problem is, when I print($obj->property); I still get the value? What am
I missing here?
Many thanks...
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Wilbert Enserink declared
> I hope you understand my problem and have some tips for me. Below is some code
>snippets I'm using:
Actually it's a little tricky to understand ;-)
Have you considered output buffering?
-
; like this: (i tried it but it doesn't seem to work)??
Sorry, not sure, I've never actually had cause to use output buffering.
You might want to ask the question specifically in a new thread. In
fact: Please do, I'd be very interested to hear what the others think
;-)
- --
Nick Wilso
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
In theory I can work out how to get http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s I get the url minus everything after the first ampersand.
> I tried using htmlentities with no joy like so...
Hmmm... I use this all the time on a site I'm working on (part time
personal site) and I have no trouble.
header("Location: $PHP_SELF?id=$id&auth=34");
- --
Nick
oing something wrong ;-)
I'll bet that what's happening is that you are not using stripslashes()
when you re-use the var and that is causing the multiple slashes.
If you don't get what what I just said, post your code.... and i'll have
a bash at it..
- --
Nick Wilson //
must be missing something but I've read the Manual and just can't see
what's wrong?
Many thanks
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9GtniHpvrrTa6L5oRAnryAKCtsYLCy1mfuXh6bp+UMnxK+4u+pgCggoOd
zd4
rks fine for me...
Great! Thanks very much,
> btw: if you speak Danish then the
> dk.edb.internet.webdesign.serverside.php might be worthwile diving into
> :-)
Right, my wife is danish and I speak a little so I'll give it a shot.
Cheers...
- --
Nick Wilson // www.explodingnet.c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then adi declared
> how to make a changerate.php file for:
I think a specific problem and a helpful subject line might get a better
response for you.
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Vers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I'm setting up a site for a client and his host refuses to create (or
allow me to) a directory outside of the http root.
How might I make an 'includes' dir inside the http root and stop users
being able to browse it?
Many th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Jason Wong declared
> If using Apache, you would set a directive to deny all access to that
> directory.
Gotcha. Can you domonstrate?
Cheers...
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
V
Hi all,
Can anyone spot the problem here and point me in the right direction?
I have a script that goes and fetches the xml at weblogs.com
(http://www.weblogs.com/changes.xml).
It then extracts the urls of the updated blogs and goes and uses file()
to read each of them and extract some more stu
* and then Jay Blanchard declared
> Nope, not enough info to spot the problem. I could point you in a
Spare me the sarcasm. Here's the code if anyone can help, thanks.
http://www.weblogs.com/changes.xml');
$xml=implode("\n", $xml);
// Pattern match string
$urlpattern =
'/((http|https|ftp):
* and then Raditha Dissanayake declared
> Hi,
>
> Jay's comment was a fair one. It's not always possible to help without
> full info.
I beg to differ, the point was valid but the manner unfriendly at best.
> You could try writing your data directly to disk instead of keeping them
> in me
Hi all,
I'm using the code below to open webpages and read them into a variable.
I got the example from the manual but am confused as to how to limit how
much of the page to read.
Ideally, I just want to read the first 30k of each webpage. Could
somebody please show me how?
[EMAIL PROTECTED]($
* and then Rasmus Lerdorf declared
> Why not just fread($pagehandle,32768) ?
Sure. I just got confused as to why '8912' was on the example and
thought it significant. I see it's not now, thanks ;-)
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Hi all,
under 4.3 is there any way to work with XSLT and XML that *does not*
require additional modules etc to be installed? Perhaps a set of classes
or somesuch?
Many thanks...
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Burhan Khalid declared
> >under 4.3 is there any way to work with XSLT and XML that *does not*
> >require additional modules etc to be installed? Perhaps a set of classes
> >or somesuch?
> >
> >Many thanks...
>
> http://pear.php.net
> http://www.phpclasses.org
Thanks, hard to bele
* and then Stuart declared
> 2) If you want to query google you're better off using the google SOAP
> API - it's legal for a start. See the following for more info...
>
> http://www.google.com/apis/
> http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html
and
http://dietrich.ganx4.co
Hi all,
I'm getting this error on a well tested and used CMS script:
** CODE
warning: main(): URL file-access is disabled in the server configuration
in /var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19.
warning: main(http://ellasattic.co.uk/index.php): failed to open stream:
no s
* and then Richard Davey declared
> Hello Nick,
>
> Friday, January 16, 2004, 12:39:16 PM, you wrote:
>
> NW> Line 19 is a simple include() but uses 'http://' rather than a local
> NW> path (i cannot change this)...
>
> allow_url_fopen is almost certainly disabled in your php.ini file.
Ye
* and then SASSINC Internet Solutions - Arabic Department declared
> Hi again..
>
> How to compare between two values, One imported from a mySQL DB and the other
> grabbed by GET (http://www.sitename.com/test.php?value2=3342g345)
if($myMySQLValue==$_GET['myGetVar']) {
do stuff
}
-
if a script calls antohter like 'include('http://site.com/index.php');
Why would I get a syntax error on line 1 of index.php when it looks like
this:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Richard Davey declared
> Why do you have code comments OUTSIDE of the php tags? I can't say for
> sure, but it wouldn't surprise me if it caused it.
I dont. That's just in my email to tell where the code begins ;-)
line 1 is just
http://www.php.net/)
To unsubscribe, visit: http://w
* and then Richard Davey declared
> Hello Nick,
>
> Friday, January 16, 2004, 2:16:43 PM, you wrote:
>
> NW> if a script calls antohter like
> NW> 'include('http://site.com/index.php');
>
> NW> Why would I get a syntax error on line 1 of index.php when it looks like
> NW> this:
>
> NW> NW
* and then Dagfinn Reiersøl declared
> >Yes your right, that?s exactly the problem. I didn?t even realize he was
> >doing that.
> >
> >By including the PHP file via HTTP, you are including the OUTPUT of the PHP
> >file, not the actual PHP file itself.
> >
> >e.g.
> >
> >by including a file wit
call my
> function when I press my button.
What value is it returning 5, or 10?
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
i
to the user. Therefore, you can't call a PHP
> function directly from a web page after the user has received it, since all
> of the processing has already been done.
Of course, I think in my case the expresion is 'barking up the wrong
tree'.
- --
Nick Wilson
Tel:+45 33
s leads me to believe that I can't run two instances of mysql_query()
> or perhaps mysql_fetch_array().
No, of course you can.
HTH
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linu
it. Your first $result is a resource indicator (container for
results) so if you re-assign it (put another value into it) it becomes
useless as your while statement depends on it.
Happy to help :)
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
gs and there values dynamically...
> Regards,
> Kunal Jhunjhunwala
- --
Can you give an example of what you want, your message is a little hard
to visualize :)
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version:
7;s
it) array. See the manual under variables.
HTH
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8QAk1HpvrrTa6L5oRAqfdAJ95ZALl/nmXRfN
non-existent class
Let's see the line in question?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8QBKrHpvrrTa6L5oRAtd2AJ9y4GurINpqh
e. A loop? Something even more easier and
>better?
>
> Thanks,
> Lauri
If the 'markers' are in some kind of sequence (like marker1, marker2
etc) you could use a loop.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explod
e
$markers=array("m1", "m2", "m_whatever");
and all your replacements likewise
$replace=array("r1", "r2", "r_whatever");
and then loop through like that?
If not, explain a little more about the context of the problem and let's
see
com/articles/latest/7/
HTH
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8QF74HpvrrTa6L5oRAo7AAJ4wMMUiPYN5tt8fY1BCecIHP2b9bwCgsqWY
BT
www.phpbuilder.com www.devshed.com for articles relating to this
topick. (I seem to remember there being a couple on one or both of those
sites)
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Com
t; Are there any known exceptions (f.i. specific server settings) that
> might explain why the variable is not known on the remote server?
>
> Thanks in advance!
> --
> Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439
Are you absolutely certain that the var is being set properly?
T
there's a good article on
caching there that you'd find usefull. (if not there is *definately* one
on www.zend.com)
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Commen
ome alternative
suggestions but I'm certain that PHP won't be the best tool for the job.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
have a
> stab at helping you.
>
Hehe, yeah, lets see the code!
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8RHhUHpvrrTa6L5oRArGC
'm not sure what you mean can you be a little more detailed?
I can tell however that PHP is *not* a substitute for HTML. If you want
something like the tag then *use* the tag.
HTH
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN P
like the tag then *use* the tag.
>
> in fact i want something like the tag, but the new url should be opened
> within a php if-statement, not by user-clicking. Is that more detailed for
> you?
Some page");
} else print ("Another page");
?>
Try that.
- --
N
AUTOLOAD method in a package.
>
You'll have to check the manual but I'm pretty sure there's a
func_exist() function that should do the trick.
I checked the manual myself but they must have changed the way it works
as I couldn't find a damn thing!
- --
Nick Wilson
Tel:
>
> I'm just wondering if I could do this trick using other ways of writing
> it.
>
I'm not sure of the syntax but you need to be looking ar variable
variables, there's a whole section on it in the manual.
HTH
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3
:
>
>
> echo "...some html code...";
> $row["somename_$var"];
> echo "...the continuation of the html code";
>
Shouldn't that be
print($row["somename_$var"]);
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.
a new bicycle, a house with a swimming pool and several
million $'s but I'm not likely to get that here either.
And the 'small plastic trumpet' award for ridiculous postings goes
to... Prachait Saxena!
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web
s maybe offering to help in a free
> software project?
Hadn't even occured to me, but I suspect this is not the case.
Have a good evening.
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GN
inks on this subject. You can
check it out at: www.explodingnet.com/articles/latest/7/
HTH
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnu
can¹t parse
> line 1
>
> Line 1 is simply the tag!!
>
> On one of their user forums someone suggested getting rid of the HTML tags
> so I did and just left the PHP code on its own and this works fine so how
> can I use PHP with HTML?
RTFM
The Manual is your friend")
; you selected
> 3) Without reloading the page...
>
> Show/hide layers I can figure out myself... I dont want to have X hidden
> layers with X times 10 checkboxes within each of them.
>
Well, you won't do that with PHP
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 17-01-02 at 11:46
* Sandeep Murphy said
> hi,
>
> can i convert a string to an array?? if so how shud the syntax read??
>
> Thnx,
>
> sands
>
Check out explode()
www.php.net/manual/en/function.explode.php
guage.types.string.php
>
>
Hmmm. I didn't know that!
> Actually, using the [] syntax is deprecated - using {} is the new way
> - but I'm a creature of habit...
>
Or that!
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet
mysql nothing
> happens.
>
> Please help
>
> Thanks,
> Morten
>
>
>
> --
> 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 administra
ot take %coding, nor '%coding', nor "%coding".
> Can someone help me out ?
> Marc
No idea, but a fella on this list told me [] had been deprecated in
favour of {} Maybe that has something to do with it?
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0
script you'll get an sql query
> $this = mysql_fetch_array(indentifier);
Looks to me like $this is just an ordinary var as it not being used with
the pointer thingy (->)
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.e
f stopped giving
detailed answers to Q's like 'my html page shows the php code' and were
just a little less tolerant.
Feel free to fry me.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BE
document is not one of them.
Occasionally I just 'dont get it' and that's what a *valuable* list is
about.
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
er myself in my inclusion) that know a
*little* about php refer the *I've discoverd php and it's not easy*
comments to good sources such as the FM! we might all benifit a little?
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com
-BEGIN PGP S
1 - 100 of 410 matches
Mail list logo