Check out Geshi
http://qbnz.com/highlighter/
> -Original Message-
> From: Chris [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 25, 2006 5:54 PM
> To: Michelle Konzack
> Cc: PHP - General
> Subject: Re: [PHP] syntax highlighting for Shell scripts and C?
>
> Michelle Konzack wrote:
> > H
Mark Sargent wrote:
Hi All,
I get the error for line 15 for this code,
";
18 echo "$_SESSION['text']";
19 echo "";
20 ?>
I have put ' ' quotes around the " " quotes for each font attribute so
that the parser doesn't think the echo is finished too early. Is that
wrong? I know that
Mark Sargent wrote:
Hi All,
I get the error for line 15 for this code,
";
18 echo "$_SESSION['text']";
19 echo "";
20 ?>
I have put ' ' quotes around the " " quotes for each font attribute so
that the parser doesn't think the echo is finished too early. Is that
wrong? I know t
steve wrote:
When using PHP 5.1.4 under FastCGI and using mysqli, we are seeing
that the connections do not close (filling up the max_connections
limit for MySQL 5.0). In fact, the number of connections to mysql
quickly become GREATER than the number of FastCGI processes.
Restarting apache (and t
Hi All,
I get the error for line 15 for this code,
";
18 echo "$_SESSION['text']";
19 echo "";
20 ?>
I have put ' ' quotes around the " " quotes for each font attribute so
that the parser doesn't think the echo is finished too early. Is that
wrong? I know that this code would get
Tedd, Adam,
Thank you for your advice. While I'm very grateful for your advice,
unfortunately, it seems that the core of what you suggest do not fit my
situation.
First, with Adam's suggestion that I use instead of . The
output I am generating is akin to what csszengarden.com generates, so
tedd wrote:
At 11:51 PM +0100 5/25/06, Chrome wrote:
[snip]
1. Anytime you put anything into a dB then use
mysql_real_escape_string() function. If you are NOT going to put it
in a dB, then you don't need mysql_real_escape_string() function --
understand?
[/snip]
Untrue... It isn't just insertin
All,
I want to clean up my PHP.ini file on production to be as streamlined as
possible so that it's easier to work with and maintain. It is easier to
do a diff of my INI and the recommended INI if both files are very
similar with whitespace removed, comments cleaned out, and keys sorted,
etc
g the pitfalls regardless of how
bad the advice is set out/worded surely must be good
Security should be foremost and ignorance no excuse... That's not to say
anyone can't make a mistake :)
>
> In any event, your point is well taken -- thanks for the clarification.
>
> tedd
>
> --
> --
> --
> http://sperling.com http://ancientstones.com http://earthstones.com
>
> __ NOD32 1.1559 (20060525) Information __
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
Dan
--
http://chrome.me.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why not reconfigure the webserver to proxy a certain url subdirectory
to your php script that can be running on any old port?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:51 PM +0100 5/25/06, Chrome wrote:
[snip]
1. Anytime you put anything into a dB then use
mysql_real_escape_string() function. If you are NOT going to put it
in a dB, then you don't need mysql_real_escape_string() function --
understand?
[/snip]
Untrue... It isn't just inserting into a DB t
When using PHP 5.1.4 under FastCGI and using mysqli, we are seeing
that the connections do not close (filling up the max_connections
limit for MySQL 5.0). In fact, the number of connections to mysql
quickly become GREATER than the number of FastCGI processes.
Restarting apache (and thus fastcgi) t
Merlin wrote:
Hi there,
I am having some trouble in parsing some XML. No idea where I have that
xml parser for php from, but I believe it worked ok in the past. Now I
do have a file to parse with following structure:
I want to grab this title
With my xml parser I do just
Michelle Konzack wrote:
Hello,
since I include source sniplets into some of my webpages I like
this syntax highlighting for php scripts... because it make
scripts more readable.
My question is: Does such thing exist for Shell scripts and C?
pastebin.com has it and the code is GPL'ed so you
[snip]
1. Anytime you put anything into a dB then use
mysql_real_escape_string() function. If you are NOT going to put it
in a dB, then you don't need mysql_real_escape_string() function --
understand?
[/snip]
Untrue... It isn't just inserting into a DB that requires this function...
Consider:
Us
At 11:19 PM +0200 5/25/06, [EMAIL PROTECTED] wrote:
As you said: Filtering. My next queston.
I have small form to activate/deactivate member's account.
and once adminisrtrator clicks on button:
if(isset($_POST['action']))
{
$Username = $_POST['Username'];
$action = ''; <===
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 25 May 2006 22:19
> To: tedd
> Cc: Eric Butera; php
> Subject: Re: [PHP] Filtering (was storing single and double quote in
> MySQL)
>
> As you said: Filtering. My next queston.
>
> I have small form to activa
On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
As you said: Filtering. My next queston.
I have small form to activate/deactivate member's account.
and once adminisrtrator clicks on button:
if(isset($_POST['action']))
{
$Username = $_POST['Username'];
$action = '';
switch(
As you said: Filtering. My next queston.
I have small form to activate/deactivate member's account.
and once adminisrtrator clicks on button:
if(isset($_POST['action']))
{
$Username = $_POST['Username'];
$action = '';
switch($action)
{
case 'change':
mysql_query("UPDATE m
Not sure I understand your question correctly. I think you can just use
soemthing like:
echo '';
Mindaugas L wrote:
or heredeoc syntax :)
On 5/25/06, John Nichel <[EMAIL PROTECTED]> wrote:
Pavleck, Jeremy D. wrote:
> So I'm writing this page (PHP Newbie here) and it checks to see if a
var
or heredeoc syntax :)
On 5/25/06, John Nichel <[EMAIL PROTECTED]> wrote:
Pavleck, Jeremy D. wrote:
> So I'm writing this page (PHP Newbie here) and it checks to see if a var
> is set, if it isn't it spits out the form info like so: echo " action="myform.php" method="post">";
> Now is there a wa
Pavleck, Jeremy D. wrote:
So I'm writing this page (PHP Newbie here) and it checks to see if a var
is set, if it isn't it spits out the form info like so: echo "";
Now is there a way to 'wrap' that so I don't have to escape quotes?
Something like perls 'qq' function is what I'm looking for.
I tr
> So I'm writing this page (PHP Newbie here) and it checks to see if a var
> is set, if it isn't it spits out the form info like so: echo " action="myform.php" method="post">";
> Now is there a way to 'wrap' that so I don't have to escape quotes?
> Something like perls 'qq' function is what I'm lo
On 25/05/06, Pavleck, Jeremy D. <[EMAIL PROTECTED]> wrote:
So I'm writing this page (PHP Newbie here) and it checks to see if a var
is set, if it isn't it spits out the form info like so: echo "";
Now is there a way to 'wrap' that so I don't have to escape quotes?
Something like perls 'qq' funct
So I'm writing this page (PHP Newbie here) and it checks to see if a var
is set, if it isn't it spits out the form info like so: echo "";
Now is there a way to 'wrap' that so I don't have to escape quotes?
Something like perls 'qq' function is what I'm looking for.
I tried a few different function
Eric Butera wrote:
On 5/25/06, Micky Hulse <[EMAIL PROTECTED]> wrote:
Kevin Waterson wrote:
> Try this quicky
> http://phpro.org/tutorials/Introduction-to-PHP-Regular-Expressions.html
Sweet, good links all. Thanks for sharing! :)
Have a great day.
Cheers,
Micky
--
PHP General Mailing List
Hi there,
I am having some trouble in parsing some XML. No idea where I have that xml
parser for php from, but I believe it worked ok in the past. Now I do have a
file to parse with following structure:
I want to grab this title
With my xml parser I do just
On 5/25/06, Micky Hulse <[EMAIL PROTECTED]> wrote:
Kevin Waterson wrote:
> Try this quicky
> http://phpro.org/tutorials/Introduction-to-PHP-Regular-Expressions.html
Sweet, good links all. Thanks for sharing! :)
Have a great day.
Cheers,
Micky
--
PHP General Mailing List (http://www.php.net/)
Kevin Waterson wrote:
Try this quicky
http://phpro.org/tutorials/Introduction-to-PHP-Regular-Expressions.html
Sweet, good links all. Thanks for sharing! :)
Have a great day.
Cheers,
Micky
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Koen Martens wrote:
You might be better off then by parsing the html file with DOM:
http://nl2.php.net/manual/en/ref.dom.php
Whoa, that is cool, I had no idea this was something PHP could do!
Thanks for the links. :D
Cheers,
Micky
--
PHP General Mailing List (http://www.php.net/)
To un
At 9:54 AM -0600 5/25/06, Tristan wrote:
Can the pic include be based on a variable?
my client asked me this question. I have a movie that is the header to
the site and it pulls in a swf that calls a picture from pic00.jpg.
I'm not sure exactly what he means by this. I'm assuming he wants to
pas
At 12:53 AM +0900 5/26/06, Dave M G wrote:
PHP list,
This may be a simple matter. Please feel free to tell me to RTFM if
you can direct me to exactly where in the FM to R. Or, alternately,
please use simple explanations, as I'm not an experienced PHP coder.
I'm building a simple content mana
Dave M G wrote:
PHP list,
This may be a simple matter. Please feel free to tell me to RTFM if you
can direct me to exactly where in the FM to R. Or, alternately, please
use simple explanations, as I'm not an experienced PHP coder.
I'm building a simple content management system, where users
Can the pic include be based on a variable?
my client asked me this question. I have a movie that is the header to
the site and it pulls in a swf that calls a picture from pic00.jpg.
I'm not sure exactly what he means by this. I'm assuming he wants to
pass flash a variable name instead of a hardc
PHP list,
This may be a simple matter. Please feel free to tell me to RTFM if you
can direct me to exactly where in the FM to R. Or, alternately, please
use simple explanations, as I'm not an experienced PHP coder.
I'm building a simple content management system, where users can enter
text i
Hello,
since I include source sniplets into some of my webpages I like
this syntax highlighting for php scripts... because it make
scripts more readable.
My question is: Does such thing exist for Shell scripts and C?
(It would be realy nice)
Thanks
Michelle Konzack
--
Linux-User #2801
Am 2006-05-15 17:25:05, schrieb Rory Browne:
> Bullshit. there are multiple tools for copying files from host to host,
> including ftp, scp, sftp, rsync, nfs, etc. Planning ahead, is a better way
> to avoid breaking links than using MySQL to store your images.
Right, currently I am using a php5
Am 2006-05-15 20:06:06, schrieb Richard Lynch:
> After you start working for the CIA and actually write a function that
> *DOES* something with the blob data to search for common facial
> features or something, you can use this argument...
>
> Until then, it's really rather empty.
>
> :-) :-):-)
On 5/25/06, Phil Martin <[EMAIL PROTECTED]> wrote:
Hi everybody,
I'm new to the list and also new to php, I hope I can learn many
things from here.
My first doubt is the following: I'm trying to create a small monitor
system, just to suit my needs in monitoring some services in my ap
After calling a non existing socket PHP halts and doesn't return. It
happens when we do it through our web server (AppWeb) or through the
command line. The problem is with socket_recvfrom. (see code below)
Is this a known bug? a mistake I make in accessing sockets? installation
error on my side?
On 5/25/06, Phil Martin <[EMAIL PROTECTED]> wrote:
Hi everybody,
I'm new to the list and also new to php, I hope I can learn many
things from here.
My first doubt is the following: I'm trying to create a small monitor
system, just to suit my needs in monitoring some services in my ap
如果此mail无法正常显示,请点击 http://www.51credit.com/minisite/cardjoin/index.php
我爱卡首页 | 关于我们 | 联系方式
热门信用卡推荐
中信STAR卡详情 立即申请中信魔力卡详情 立即申请
加菲猫卡详情 立即申请
兴业信用卡详情 立即申请
据最新统计显示,我国内地信用卡累计发行数量达到已超过 1000
万张,可见国人对信用卡的接受程度之强,如果皮夹里还没有一张信用卡,是否有点落伍了呢!办理信用卡不需要担保,既不需要担保人也不需要质押,方便快捷,现在通过信用卡门户网站――我爱卡网站(www.51cr
Hi everybody,
I'm new to the list and also new to php, I hope I can learn many
things from here.
My first doubt is the following: I'm trying to create a small monitor
system, just to suit my needs in monitoring some services in my application.
I've found some functions that return to me
On 5/25/06, Ross <[EMAIL PROTECTED]> wrote:
http://scottishsocialnetworks.org/editor.php
http://scottishsocialnetworks.org/editor.phps
the pager in this page works except try and choose aberdeen from the area
dropdown. You should get 18 answers which is fine except when page 2 is
pressed at th
I have an access as root user to the server and it shouldn't be a problem
to turn Off magic quote, but I really CANNOT do it right now because, as I
said earlier, just put live our new (pretty big) web site and there is no
chance to put it again "under construction" for a next couple of weekls
(red
[snip]
I'd like to use GD instead of ImageMagick beacuse I would not want to
install extra packages if I can.
[/snip]
GD is an extra package.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
print needs escaping, so fix style=\"\". Read XHTML requirements.
"";
I see you are missing semicolon when calling clientDate(); The same for
clientTime(); Javascripts need semicolons at the end of statement.
in the beginning style must be
On 5/25/06, Rabin Vincent <[EMAIL PROTECTED]>
http://scottishsocialnetworks.org/editor.php
http://scottishsocialnetworks.org/editor.phps
the pager in this page works except try and choose aberdeen from the area
dropdown. You should get 18 answers which is fine except when page 2 is
pressed at the bottom the query seems to be scrubbed and
Yesterday I read this discussion and looked at php manual for
mysql_real_escape... There is good example with extra function to check php
magic quotes status. I like the idea, because the code is more portable. You
don't have to add .htaccess files nor configre php..
Beginner Mindaugas
On 5/24/
Hi,
Is this a non documented api?
http://www.php.net/manual/en/ref.image.php does not show this.
On 5/23/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, May 22, 2006 5:10 pm, mbneto wrote:
> I am looking for sample code/class that can generate a thumbnail (can
> be a
> png/jpeg) image f
Jay,
I am not quite sure if you've made sarcastic comments but to make things
more clear...
I'd like to use GD instead of ImageMagick beacuse I would not want to
install extra packages if I can.
When I mentioned that I use convert I said 'when GD is not available...' So
I have alternatives: if
Hi,
Last year I switched from using FileMaker Pro to MySQL. One of FileMaker's
quirks was that if, in a text field, you searched for say, 'free ass boo',
it would find any records with those three substrings in that field (in this
example, its 'Free Association Books').
I want to have this quirki
This one time, at band camp, Micky Hulse <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have been rtfm on preg_replace, and I am a bit turned-off by how
> complex reg-exing appears to be anyway, I would like to spend some
> time learning how I would convert a file full of links that look like:
tedd wrote:
Hi all.
I've been playing with captcha for one of my sites. It works well but
have had a few issues integrating it into the site and sometimes it
appears not to work/show the textfield and graphic.
Anyway are there any other suggestions for something with similiar
functionality
54 matches
Mail list logo