hey all,
if im displaying pages with data from a database eg
www.domain.com/file.php?id=40
on that page i would like to have a previous and next link that would
take it to id 41 and 39 respectively, the only problem being what if 39
or 41 was empty? then i would want the link to be id=42 or i
Steve Bradwell wrote:
> is_int($f) will return true if $f is an integer, false otherwise.
is_int will return false in this case, because it's a string. You have to
use is_numeric
HTH
Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know how to create .PS or .PRN files from the *command line* or
PHP under Windows 2000 ???
Thanks.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Webalizer is a fairly popular package, even used by a
few fortune 500's if I remember correctly. Not PHP but
fast and free.
http://www.webalizer.com/
olinux
--- tomba <[EMAIL PROTECTED]> wrote:
> I have a client that is hosted with a company that
> has a rather lame web
> stats package. I am
This appears to do what you want... or at least provide some inspiration:
http://www.phpclasses.org/browse.html/file/1220.html
I'm sure there are hundreds of web services based on currency conversion and
weather... usually they send XML data which you parse... google will help :)
Justin French
Perhaps not EXACTLY what you're after, but I wrote a small, simple function
to encrypt a string with a key (i'll skip a long note about keeping the key
safe).
Then I send an email with the data encrypted, and decrypt it at the other
end (me) using a decrypt script located on my local server.
It
Hello,
On 09/05/2002 02:29 AM, Bob Irwin wrote:
> Hey guys,
>
> Can anyone recommend any PHP functions or plugins that will allow me to send
> encrypted emails via PHP? Something similar to PGP would be excellent. I
> have use PGP with a formmail cgi previously, but obviously it'd be easier to
Hey guys,
Can anyone recommend any PHP functions or plugins that will allow me to send
encrypted emails via PHP? Something similar to PGP would be excellent. I
have use PGP with a formmail cgi previously, but obviously it'd be easier to
have in-PHP support for it.
Any suggestions are much appr
Hi all.
I need to find FREE world wide weather reports and also a FREE currency
converter from US Dollars to other currencies that can serve PHP
requests 24 hours a day, so I can customize the look and feel of these
results in my site(s). Does anyone knows where to get all this? Has
anyone out t
Hi,
I have requirement like this... Read a TEXT file that has codes that
represents Japanese chars in ISO-8859-1 encoding.
example "計画対比" I have to read these and convert
into EUC-JP and write the EUC-JP to a different file.
"
"
But this doesnt work. Can u please guide me how to achieve t
hi tough question but is there any way to port to ebay and manage and list
the auctions remotely in php? i've seen heaps of software and websites that
can do it
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi tough question but is there any way to port to ebay and manage and list
the auctions remotely in php? i've seen heaps of software and websites that
can do it
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is somewhat php related: how do you get syntax highlighting and
coloring (whatever) for php in the windows version of emacs?
- Victor > www.argilent.com
__
Post your free ad now! http://personals.yahoo.ca
--
PHP Gener
You may also want to look at:
http://www.entropy.ch/software/macosx/php/
A build for Mac OS X based on PHP 4.4.2 with simple download and install
instructions.
HTH
David
On Wednesday, September 4, 2002, at 11:46 PM, Michael Geary wrote:
> Perhaps the best thing to do would be to wait for PHP
is it possible to write a php program that sends
output to a network printer? an example would also
be great. thanks!
--
Ric Mañalac
Note:
The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this
message is not the intende
I have a client that is hosted with a company that has a rather lame web
stats package. I am looking for a PHP based stats package and have waded
through the sites that have apps shown under PHP at hotscripts.com and
wasn't drawn to the dozen or so that I looked at.
So if you have recommendations
Perhaps the best thing to do would be to wait for PHP 4.3, which will
offer out-of-the-box OS X support. I have compiled the latest dev
releases with no problems or workarounds on OS X.
However, I do have step-by-step instructions for compiling PHP 4.2.x on
OS X, but depending on the libraries
I will be generating a dynamic website for a Class in america. (Don't worry
about details)
The schools technican is the type that doesn't really know what they are
talking about.
They are running PHP 4.0.6 which is too old for me - Language differances.
They say that upgrading to PHP 4.2.3 will
At 04:37 PM 9/4/02 , Matt Zur wrote:
>How do I remove the whitespace from a document? I consulted the manual and
>it said to use the trim function. But in a large PHP document, with lots
>of fuctions etc in PHP... is there a simple way to compress the whitespace
>of the entire document? Rathe
I'm trying to use cURL to log into a site, get the cookies then use those
cookies as I move through the site.
I'm getting the cookies in a file but either they're not being sent when
the script goes to the next page or they need to be formatted somehow so
the site recognizes them.
Has anyone don
This has nothing to do with PHP, the best list of newsgroup is here :
www.google.com
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Christopher J. Crane" <[EMAIL PROTECTED]> a écrit dans le message de
news: [EMAIL PROTECTED]
> Does anyone know of
the php parser does not return any whitespace between the tags
unless youn use print or echo.
i wouldn't use:
> You should use $content = str_replace(" ","",$content);
> I assume that works, there is probably something better than it too but
> thats all I see at this hour.
as that would rem
Does anyone know of a Javascript forum like this one that I can post a
question to?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you have a file includes IE:
include ("data.inc");
and have arrays n such with multiple php tags in that file, it will
produce alot of white space on the final output.
-Matt
Philip Hallstrom wrote:
> I'm not sure I fully understand your question, but given the following PHP
> file:
>
>
Hi,
You should use $content = str_replace(" ","",$content);
I assume that works, there is probably something better than it too but
thats all I see at this hour.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Matt Zur" <[EMAIL PROTECTED]> a écr
Kevin Stone wrote:
> $myformtxt = '[i]Hello[/i] [B]world[/B]'; // pretend this came from a form.
1. I understand what you're doing, and how. But what I don't understand
is why? If a user is going to have to type [B]bold[/B], why not just get
them to type bold. [bold] and [italic] maybe?
2, I
I'm not sure I fully understand your question, but given the following PHP
file:
all the browse will see is this (minus the dashed lines).
--
hello
--
On We
How do I remove the whitespace from a document? I consulted the manual
and it said to use the trim function. But in a large PHP document, with
lots of fuctions etc in PHP... is there a simple way to compress the
whitespace of the entire document? Rather than going through each var
and using
> How do you alternate colors of the rows in a table inside a
> while statement
> when dealing with the output of data from a DB. I am sure
> it's something
> simple but I keep getting into some really long math thing...
For two alternating colours I normally do something like this:
$use
Hi -
I've built a web-based XML editor using PHP, so that clients can edit
the sites themselves. The site HTML is generated dynamically via
Sablotron. The problem is the users are copying-and-pasting from MS
Word, and putting things like smart quotes and greek characters (one
site is about ma
here's one way, set a variable and switch it on and off
$tr_properties = 'style="background-color: grey;"';
while( $ect = etc ) {
if($tr_properties){
print "";
$tr_properties = false;
} else {
print "";
$tr_properties = 'style="background-color:
That's what I thought it meant but I have never seen it writte nthat way.
Thank you very much
- Original Message -
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
To: "Christopher J. Crane" <[EMAIL PROTECTED]>
Cc: "Mike richardson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, S
Take a look at http://news.php.net/
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Brian V Bonini" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Anyone now of a a PHP mailing list program that has a forum-like interface
"Christopher J. Crane" wrote:
> >$color = ($color == "FF")? "EAEAEA" : "FF";
Break it down:
$color = (we don't care right now)
That is: ($color == "FF")? "EAEAEA" : "FF"
And that says: Evaluate the (current) variable $color.
Is it FF? if so, change it to EA
Thanks. I will give it a shot. I have never seen anything written like that.
Can you give me a brief explanation of what it means?
Thanks again.
- Original Message -
From: "Mike richardson" <[EMAIL PROTECTED]>
To: "'Christopher J. Crane'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
Anyone now of a a PHP mailing list program that has a forum-like interface
as well? Somethign that functions similar to yahoo groups if your familiar
with that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
While( ) {
...
$color = ($color == "FF")? "EAEAEA" : "FF";
print "\n";
...
}
-Original Message-
From: Christopher J. Crane [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 3:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Returning Rows Question
Thanks Again!
-Matt
[EMAIL PROTECTED] wrote:
> If you have register globals off, you must use $_POST['name'] and not $name.
> Check your php.ini ()
>
> --
>
> Nicos - CHAILLAN Nicolas
> [EMAIL PROTECTED]
> www.WorldAKT.com - Hébergement de sites Internet
>
> "Matt Zur" <[EMAIL PROTECTED]> a é
How do you alternate colors of the rows in a table inside a while statement
when dealing with the output of data from a DB. I am sure it's something
simple but I keep getting into some really long math thing...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Didn't seem to fix it.
-Matt
[EMAIL PROTECTED] wrote:
> If you have register globals off, you must use $_POST['name'] and not $name.
> Check your php.ini ()
>
> --
>
> Nicos - CHAILLAN Nicolas
> [EMAIL PROTECTED]
> www.WorldAKT.com - Hébergement de sites Internet
>
> "Matt Zur" <[EMAIL PROTEC
If you have register globals off, you must use $_POST['name'] and not $name.
Check your php.ini ()
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Matt Zur" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I have a form tha
I have a form that posts to another php file. But it won't display the
var? It just shows a blank screen.
For example
test.php has form input name
test2.php prints name
On test2.php it shows a blank screen, but if I assign $name on test2.php
and reload, it will print the var. Is there so
Hi!
For those Windows users who are interested in a
useable help system, the 9th sample of our new CHM
edition is out at http://weblabor.hu/php-doc-chm
It includes a workaround for the most annoying IE6
bug we ever met (thanks to Brendan for the tips!),
and also simplifies skin switching.
For t
Hi Electroteque,
Am Dienstag den, 3. September 2002, um 10:14, schrieb Bas Jobsen:
>> hi there i was wondering if there was a way to limit the
>> ammount of items
>> in a loop to execute sleep then execute the rest of the items
>> to prevent
>> server load ?
>
> for($i=0;...)
> {
> if($i>0
Ok, thank you just one more doubt
Is it threading safe?
For example:
At 13:30:10 [Proccess 1] cliente request index.php
At 13:30:11 [Proccess 1] index.php is putting the content of the querey into
index.xml
At 13:30:12 [Proccess 2]a new client request index.php
At 13:30:13 [Proccess 2]a new i
Jason wrote:
>
> Hi,
> What is the necessary code to return a recordset from a single text box with
> more than one keyword in it (like most search engines do)?
> Thanks
This is basic, and syntax is not checked...
if( is_array( ($words = split( '[[:space:]]+', $GET['keywordInput'] )) )
&&
Hi Victor,
the error code (you are currently suppressing) should give you
some directions.
Timo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Javier,
I think parsing the listing into a multidemensional array is the
answer. But actually, I do not yet know how that would look like
in PHP. But I can give you an example of how it is done in
ActionScript (Ecmascript).
file_arr[n] = [name, date]
Now you can sort file_arr by file_arr
Hi,
What is the necessary code to return a recordset from a single text box with
more than one keyword in it (like most search engines do)?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
if(is_numeric($return = substr("$f", 0, 1)))
etc... You can look at the manual to get the list of the is_() functions:
is_array
is_bool
is_callable
is_double
is_float
is_int
is_integer
is_long
is_null
is_numeric
is_object
is_real
is_resource
is_scalar
is_string
etc.
--
Nicos
> I am using
> substr("$f", 0, 1);
> to get the first character of a string but what to be able to tell if
> the first character is a digit or a letter is there a way to do this?
ereg( "^[0-9]", $f )
will let you know if the first character is a digit or not...
Chris
--
PHP General Maili
is_int($f) will return true if $f is an integer, false otherwise.
Check http://www.php.net/manual/en/function.is-int.php
HTH,
Steve.
-Original Message-
From: Fifield, Mike [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] check f
I am using
substr("$f", 0, 1);
to get the first character of a string but what to be able to tell if the
first character is a digit or a letter is there a way to do this?
I'm trying to retrieve information from an NDS server using LDAP
functions in PHP 4.06. I am able to establish the connection and bind
to the server using an anonymous bind, but when I try to bind as a valid
user, the app seems to run in an infinite loop. I'm not sure where to
look for the c
"Johnson, Kirk" wrote:
> The main thing to think about here is
> authentication: making sure people can access only their own data and nobody
> else's. Also, make sure everyone involved shares a clear idea of who bears
> responsibility for update mistakes. If the user has the ability to change
>
> Things I want to do:
>
> - convert this site into a dynamic one, where I can very easily
> change the layout of things whenever it comes time to revamp
> the site into a new design.
I have not worked with any of the templating systems, but here is a
home-grown one. Separate
Hello,
>From reading the docs on XML functions for PHP, I understand that
validation is not included. Does any one know where there is a package
for PHP that is already developed or resources where I can learn how to
do this myself?
Thank you.
-Samuel
If you are looking for milliseconds on the current time, see the
examples on microtime():
http://www.php.net/manual/en/function.microtime.php
Here is a summary of how to get milliseconds:
list($usec, $sec) = explode(" ",microtime());
$milliseconds = (((float)$usec/1000) + (float)$sec);
I have
Sorry I hadn't read well, yes use if(!($i %3)) echo "lala";
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
<[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi,
>
> On every loop, just put the text you want to add to a varia
Forgot a step: (1C) make an xslt stylesheet which is basically just a
beefed-up html page.
Check out devshed.cm
xml.com
and w3c.org for info on xslt stlyesheets
Geoff Hankerson wrote:
> Rodrigo Dominguez wrote:
>
>> I don't know how to work with XML... I know that it's a good standard to
>> pas
Hi,
On every loop, just put the text you want to add to a variable.
like
if($i == 0) echo "first print";
elseif($i == 1) echo "second";
elseif($i == 2) echo "third"; etc...
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Cirkit Braker" <[EMAIL PR
if ($i%3 = 0)
{
echo "something";
}
On Wed, 4 Sep 2002, Cirkit Braker wrote:
> what would be the best, most efficient way to print something every three
> times a loop runs
>
> for ($i=0; $i<$num_products; $i++)
> {
> echo "something";
>}
>
> this happens every t
Rodrigo Dominguez wrote:
>I don't know how to work with XML... I know that it's a good standard to
>pass information between computer or applications, but I don't know how to
>separe my data from my presentation on my PHP projects.
>
>I always use OOP, I organize all the data in databases and cla
Inside the loop do:
if(!($i%3)) { whatever }
-Rasmus
On Wed, 4 Sep 2002, Cirkit Braker wrote:
> what would be the best, most efficient way to print something every three
> times a loop runs
>
> for ($i=0; $i<$num_products; $i++)
> {
> echo "something";
>}
>
>
add the following:
if( $i % 3 == 0 ) {
print("something else");
}
You might need to vary the zero in that equation to get it to print at the
"right time" by which I mean, the above will print "something else" on the
first iteration of the below loop.
-philip
On Wed, 4 Sep 2002, Cirkit
what would be the best, most efficient way to print something every three
times a loop runs
for ($i=0; $i<$num_products; $i++)
{
echo "something";
}
this happens every time it runs and has to stay that way but every three
times i want to print additional info.
Any
microtime();
will return microseconds. That is not milliseconds, but it may or may
not solve your problem.
I don't think there is a way to get milliseconds.
-Jackson
On Wed, 2002-09-04 at 14:47, DonPro wrote:
> Using the following code,
>
> date("His")
>
> I get the hours, minutes and secon
[snip]
[snip]
Using the following code,
date("His")
I get the hours, minutes and seconds. Is there a way to extend this so that
I get the milliseconds too?
[/snip]
$ms = (date("s")/1000);
I don't think that there is a method to return it. I looked through php.net
(searched millisecond and mil
I don't know how to work with XML... I know that it's a good standard to
pass information between computer or applications, but I don't know how to
separe my data from my presentation on my PHP projects.
I always use OOP, I organize all the data in databases and clases, but I
always have to put s
[snip]
Using the following code,
date("His")
I get the hours, minutes and seconds. Is there a way to extend this so that
I get the milliseconds too?
[/snip]
$ms = (date("s")/1000);
I don't think that there is a method to return it. I looked through php.net
(searched millisecond and millisecon
Using the following code,
date("His")
I get the hours, minutes and seconds. Is there a way to extend this so that
I get the milliseconds too?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check file and drectory permisions.
ROBERT MCPEAK wrote:
>Our box recently went down and after reconfiguring it we're left with a
>semi-operation mySQL. One error I'm getting is this:
>
>mysql> select region from clip_art where region is not null and
>released = 'yes' group by region;
>ERROR 1:
> No luck.
>
> error_log:
> [Wed Sep 04 15:01:44 2002] [notice] Apache/2.0.40 (Unix) mod_ssl/2.0.40
>OpenSSL/0.9.6g PHP/4.3.0-dev configured -- resuming normal operations
>
> access_log:
> 10.1.65.81 - - [04/Sep/2002:15:01:51 +0100] "GET /home/lhecking/test.php HTTP/1.1"
>304 0
Found t
[snip]
Our box recently went down and after reconfiguring it we're left with a
semi-operation mySQL. One error I'm getting is this:
mysql> select region from clip_art where region is not null and
released = 'yes' group by region;
ERROR 1: Can't create/write to file '/tmp/#sqld0e_76_1.MYI' (Errco
whats the permissions on /tmp? it should be set to 1777
Adam
On Wed, 4 Sep 2002, ROBERT MCPEAK wrote:
> Our box recently went down and after reconfiguring it we're left with a
> semi-operation mySQL. One error I'm getting is this:
>
> mysql> select region from clip_art
Our box recently went down and after reconfiguring it we're left with a
semi-operation mySQL. One error I'm getting is this:
mysql> select region from clip_art where region is not null and
released = 'yes' group by region;
ERROR 1: Can't create/write to file '/tmp/#sqld0e_76_1.MYI' (Errcode:
13)
I don't thin I understand that... :)
Can you give me an example.
Or if I understand correctly, I have to use "interface", a .swf file (caled
with tags) and this .swf file have to get information (data form
database) throught .php file...?
--
Lp,
Mitja
"Mike Krisher" <[EMAIL PROTECTED]> wrote in
Hi,
Virtuoso http://www.openlinksw.com/virtuoso can do the opposite -
represent tables and SQL queries, either from relational data in
Virtuoso or another back-end database (including MySQL and all the usual
suspects) and provide an XML document in real time for PHP to use.
Virtuoso Universal Se
Oops. There was an extra period at the end there (after PHP_SELF).
http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']");
}
?>
On the threshold of genius, Jed Verity wrote:
> Hi, Roland,
>
> There might be a better way to do this, but you could try to use the
> header() function after your upl
Use header("Location: page.php"); to redirect the browser, you should
allways do it after a post that changes or adds or deletes some data on
the server.
Roland Swingler wrote:
>Hi
>
>I have a problem with caching on IE 5.1.4 on Mac Os X. (PHP 4.0.5)
>
>The page I want to use is a simple file
Hi, Roland,
There might be a better way to do this, but you could try to use the
header() function after your upload takes place to redirect the browser to
the same page, using GET. Something like...
http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].");
}
?>
Or something like that. HTH,
Jed
Hi
I have a problem with caching on IE 5.1.4 on Mac Os X. (PHP 4.0.5)
The page I want to use is a simple file upload page that works by:
Rest of document.
The form action returns to the same page (to allow you to upload another file).
This works fine, but if you press the refresh btn, the fi
On Tue, 3 Sep 2002, Geoff Hankerson wrote:
> Spend some time learning about xml and you won't regret it
Sorry for the off topic, but in fact XML is not that hard to learn, it's
just custom markup that needs to follow certain rules. The important part
is the parser or the program logic to work wit
while($a) { [statments] }
while($b) { [statments] }
while($c) { [statments] }
or
while(isset($a)) { [statments] }
while(isset($b)) { [statments] }
while(isset($c)) { [statments] }
would both work well depending on your particular situation
-Original Message-
From: Richard Black [m
http://www.w3schools.com/xml/default.asp has some tutorials.. It helped me
understand the basics of XML and what it can be used for.. They also have some
XSL(T) information and tutorials (http://www.w3schools.com/xsl/default.asp) as
well..
Take care.. peace..
eriol
"Javier Montserat" <[EMA
I have a project that I need some help/suggestions on (actually, it's been
"there" for over 3 years now, I just never addressed it.) I need to, somehow,
make our company website "easier". When I say easier, I'm referring to how
data gets posted on it. 90% of all of our pages contain prices
Hi,
Is there a way to create a DB from a xml file or it's better to use
the xml file for DB, i have lot of files so i think a DB will be better.
If you know a program or tutorial let me know.
thanx.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Javier Montserat wrote:
>> Spend some time learning about xml and you won't regret it
>
>
> Could you (or anyone else on the list) recommend some good resources
> (Books / Websites) for learning XML and XSLT?
>
> Thanks,
>
> Javier
>
>
>
> http://www.devshed.com/Server_Side/XML
http://www.x
>Spend some time learning about xml and you won't regret it
Could you (or anyone else on the list) recommend some good resources (Books
/ Websites) for learning XML and XSLT?
Thanks,
Javier
_
MSN Photos is the easiest way to s
Hi,
Donpro wrote:
> Hi,
>
> Using I.E. 5.5. I can't seem to keep a page from caching. When I click on
Have you read "HOWTO: Prevent Caching in Internet Explorer"?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234067
> the browser BACK button, I get the cached page so I have to clic
Todd Pasley wrote:
>
> Hi,
>
> Firstly, please resist the opportunity to flame
>
> I'm looking for a PHP (among other things) Line Of Code counter. Has anyone
> used any descent ones? I was thinking of writing one myself, but, if there
> are others available, I might as well save the time.
Hi,
Firstly, please resist the opportunity to flame
I'm looking for a PHP (among other things) Line Of Code counter. Has anyone
used any descent ones? I was thinking of writing one myself, but, if there
are others available, I might as well save the time.
There is much debate over the appro
Where are you generating the query and fetching the row?
And what are the queries being run?
Possibly a better way to do the first bit would be as follows:
$and = "";
if ($itemname) {
echo $n." ".$name."";
$and = " and ";
}
if ($itemcolor) {
echo $and.$c." ".$color."";
}
(I've con
$string3 = str_replace($string1,'',$string2); ???
Op woensdag 04 september 2002 17:04, schreef Richard Fox:
> Hi
>
> Given
>
> string1 = /home/web/
> string2 = /home/web/www/index.php
>
> How can I elegantly do an exclusive or of string1 with string2, that is, I
> want to end up with
>
> strin
Hi
Given
string1 = /home/web/
string2 = /home/web/www/index.php
How can I elegantly do an exclusive or of string1 with string2, that is, I want to end
up with
string3 = www/index.php
Thanks!
Hi, I just created a forum and now beta-testing it, I am having problems
submitting entries written in cyrillics. It sort of recognizes cyrillics
in but recodes it so that it makes it unreadable, while in
it doesn't recognize cyrillics at all and acts
as though no input has been made. If someone
I'm not sure what do you want to do, but maybe this can help you:
if($a == $value && $b == $value)
{
//do something
}
elseif($a == $value && $b != $value)
{
//...
}
elseif($a != $value && $b == $value)
{
//...
}
else
{
//...
}
I hope this help
Peace & Love
skitum
- Original Message -
F
Hi,
Using I.E. 5.5. I can't seem to keep a page from caching. When I click on
the browser BACK button, I get the cached page so I have to click on Refresh
to get the actual page content. I've placed the following at the top of the
HTML file but it doesn't seem to do anything. Any help would be
Kondwani Spike Mkandawire wrote:
> How can I go about closing a Frame using PHP would this
> be possible considering that PHP is Server Side?
> I am assuming Frame closing is similar to Window
> closing (I am trying to avoid doing this in JavaScript
> in case someone has JavaScript disabled on the
How can I go about closing a Frame using PHP would this
be possible considering that PHP is Server Side?
I am assuming Frame closing is similar to Window
closing (I am trying to avoid doing this in JavaScript
in case someone has JavaScript disabled on their browser)...
Thanks in advance...
Spike
1 - 100 of 135 matches
Mail list logo