On Wed, 2003-12-31 at 19:49, Raditha Dissanayake wrote:
> There was an alternative approach posted yesterday.
I saw it. Still need to have a java sdk and a shared library.
>
> Brian V Bonini wrote:
>
> >Compiling PHP (CLI) with java on mdk9.1 and java.so is simply not t
On Sat, 2004-01-03 at 21:59, Ryan A wrote:
> Hi guys,
> I am trying to install Turck MMCache on our server but have no idea about
> linux...I have gone through all the steps a fellow list user (R'twick) gave
> me to install this, up till
>
> $PHP_PREFIX/bin/phpize
>
> when I type that it says: no
On Wed, 2004-01-07 at 13:44, Matt Hedges wrote:
> Hello,
>
> I'm trying to pull from a database... I can pull an array, but I want to
> just be able to pull one item instead of all of them... I know somehow you
> can do this with page.php?id=x... but can't figure it out...
That would depend on
On Thu, 2004-01-08 at 03:33, Andy Higgins wrote:
> Hello,
>
> I have a requirement to run two different sites that are in different time
> zones on the same machine. Does anyone know if this is possible to do by
> running two instances of php and making a change in the php.ini? Or do you
> have an
On Thu, 2004-01-08 at 00:20, Peter Vertes wrote:
> Hello List,
>
> I've tried googling but couldn't come up with anything useful so
> I'm turning to the list. Could anyone send me a link to a tutorial on
> how to resize images with GD ? Thanks in advance...
FYI: Personally, I've found passi
On Sun, 2004-01-11 at 09:51, Frank Keessen wrote:
> Hi All,
>
> Can you please help me with the following; Is there a function in PHP that can do
> the following;
>
> When you have output in the database like this: "HeLlo WorlD" then you convert it to
> all caps "HELLO WORLD" or just the first
On Thu, 2004-01-15 at 09:27, Carles Xavier Munyoz Baldó wrote:
> Hi,
> Is there any PHP function or set of PHP files that allows me to print the
> current month in calendar format ?
>
I've seen many classes floating around that do this. Google should turn
up something.
--
BrianGnuPG ->
On Thu, 2004-01-15 at 17:06, Carlton L. Whitmore wrote:
> I'm having problems getting the following passthru statement to work. It
> works fine with the just the grep command.
> Help
>
> echo "\n";
> passthru('/usr/bin/grep " c=2048" " c=32" " c=2" /var/log/messages |
> /usr/bin/awk "{prin
On Thu, 2004-01-15 at 16:47, Alex Hogan wrote:
> How do you insert a php variable into a javascript function?
> For instance;
> function redirect() { location = ; }
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server:
On Fri, 2004-01-16 at 15:17, Jake McHenry wrote:
> I have a random number being generated from 1 to 501, is there an easy way for me to
> tell if the result is an odd or even number?
(1 & number) ? odd : even;
E.g.
';
while($i < 10) {
(1 & $i) ? print($i . ' is odd') : print($i . ' is
On Sat, 2004-01-17 at 08:12, Mike Brum wrote:
> PNG's support transparency as well as GIFs.
>
Just keep in mind that IE does not support transparency in png's.
--
BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server: pgp.m
On Fri, 2004-01-16 at 20:48, Bob Eldred wrote:
> Grr.that's *not* the problem. IE saves JPGs just fine, so long as they
> are not passed through this particular script. Which is why I think it has
> something to do with the headers.
>
> Bob
>
> - Original Message -
> From: "Arthur
On Sun, 2004-01-18 at 15:08, John wrote:
> ive a problem with php and mysql, and was told to re-compile php. is this
> easy?? i got a box with rhl 9 pre-loaded, with php and mysql installed, but
> no apache. so i just downloaded the apache binary. php was installed with
> rpm i think. to recompile,
On Mon, 2004-01-19 at 02:18, Freedomware wrote:
> I just learned that you can even use PHP on style sheets. Can anyone
> here tell me how to set it up?
>
> I found a page at http://www.webdeveloper.co.nz/forum/topic/50 that
> apparently cites two different methods. The first is to put a php
> h
On Mon, 2004-01-19 at 17:38, Greg Donald wrote:
> I'd say it has something to do with you transactions. Can you duplicate
> the errors using the same code on a system where the Innodb transactions
> do not require committing?
>
> Here is my own drop-in PHP session handling code if you care to co
On Tue, 2004-01-20 at 04:30, Galen wrote:
> I am looking into the possibilities of exporting data from QuickBooks
> into PHP for use with a SQL database. Getting data back into QuickBooks
> would be even better, some kind of integration. Anybody ever done this?
> Anyone even got any experience w
On Mon, 2004-01-19 at 22:24, Tim Thorburn wrote:
> Now, the question is - how to connect PHP to MS Access? I've done some
> searching on Google - most pages say "wow, good luck with that" or
> something similar - any thoughts? I'm sure someone has had to do this
> before - am I on the right t
On Wed, 2004-01-21 at 10:19, Alex Hogan wrote:
> Is there a way to create thumbnails of web pages?
>
>
>
> I have a page where the user will select a template from a list and I would
> like to be able to give them thumbs to associate with the template types.
Are you saying you want to create
On Wed, 2004-01-21 at 08:16, Ed Curtis wrote:
> > No need to copy+mogrify; just use
> >
> > convert [options] /path/to/old /path/to/new
> >
> > instead :-)
>
> I wasn't aware of that command. This list is great!!
Just for clarification, those are not PHP functions, they are programs
that are a
On Fri, 2004-01-23 at 16:00, Ryan A wrote:
> Hey all,
> heres something really interesting about that lovely company called
> microsoft...(heard of them?)
>
Remarkable isn't it, I saw that article a few days ago.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
On Mon, 2004-01-26 at 08:13, Viviane Hu wrote:
> Hi,
>
> Je try to use PHP.
> Je wrote to this code
> echo "hello \n";
> echo "viviane \n";
> ?>
> I expect a print out like :
>hello
>viviane
>
> but the print out (IE) is "hello viviane"
>
\n";
echo "viviane";
?>
Sounds a lot like Netmeeting
> -Original Message-
> From: Dallas Kropka [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 18, 2001 12:41 AM
> To: PHP LIST
> Subject: [PHP] Something cool I found in Wired,
>
>
>
> Ok, I know that this is PHP, but I thought that allot of
> the
Why would this work in IE but not NN (4.08)?
If I remove "/" ".mydomain.com" it works with
NN but not IE. Vice versa if I leave it in.
Thanks,
-Brian
***
= 5) {
$val = 0;
} else {
$val = $ecb;
}
} else {
$val = 0;
}
setcookie("ecb", $val+1,mktime(12, 00, 00,
Why would this work in IE but not NN (4.08)?
If I remove "/" ".mydomain.com" it works with
NN but not IE. Vice versa if I leave it in.
Thanks,
-Brian
***
= 5) {
$val = 1;
} else {
$val = $ecb;
$val++;
}
} else {
$val = 1;
}
$expires = mktime(12, 00, 0
on January 23, 2001! | Start here:
> http://www.zend.com| http://l-i-e.com/artists.htm
> - Original Message -
> From: Brian V Bonini <[EMAIL PROTECTED]>
> To: Richard Lynch <[EMAIL PROTECTED]>; "Brian V Bonini"
> <[EMAI
: RE: [PHP] cookies - not working with Nutscrape
>
>
>
> have you checked the date element?
>
> the browsers differ in how they handle post-y2k dates.
>
> DanO
>
>
> -Original Message-
> From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
> Sent: Fr
Actually, it's excepting the time/date.
It's the path/domain that is creating a problem.
For some reason your original suggestion of
leaving the domain out is working today.
setcookie("ecb",$val,$expires,"/");
I could not get this to work for the life of me
yesterday. Either I was overworked/tir
I have this array;
$bikes = array(
"Road" => array(
"Trek 5200" => "URL",
"Schwinn Fastback Pro" => "URL",
"Va Moots" => "url"
),
"Mountain" => array(
"Trek Fuel 90" => "url",
"Schwinn Homegrown" => "url"
),
"BMX"
--
> From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 11:56 AM
> To: Brian V Bonini
> Cc: PHP Lists
> Subject: Re: [PHP] Newbie: array help
>
>
> each($bikes["Road"])
>
>
>
> On Mon, 22 Jan 2001, Brian
I apparently misunderstood your implementation,
your right, it does work perfectly Thank you!
> -Original Message-
> From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 12:27 PM
> To: Brian V Bonini
> Cc: PHP Lists
> Subject
By trying to set a cookie and read it back.
> -Original Message-
> From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 24, 2001 11:50 AM
> To: PHP Mailing List
> Subject: [PHP] Test for Cookies
>
>
> Hi,
>
> I need to test for cookies. What is the simplest wa
Everytime I send a post to
[EMAIL PROTECTED]
The message goes through but
I also recieve back the following
This is the Postfix program at host kgb.ijs.si.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance,
You'll need to at least reload the page so
the cookie can be sent back to the server
after it's set.
Try this: it's taken directly from the annotations
on the setcookie function page of the php manual.
Cookie Check
Cookie Check Status:
%s
;',
$status ? "00FF00" : "FF",
$status
$color = "tan";
FOR ($i=0 ; $i < $numrows ; $i++) {
if ( ($i % 2) == 0 ) {
ECHO ("\n");
} else {
ECHO ("\n");
}
}
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 4:19 PM
> To: Mike
> Cc: [EMAIL PROTECTED]
>
test
--
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 administrators, e-mail: [EMAIL PROTECTED]
ything, very professional (specially in PHP / MySQL).
>
> Sincerely
>
> berber
>
> Visit http://www.weberdev.com Today!!!
> To see where PHP might take you tomorrow.
>
>
> -Original Message-
> From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
> Sent
Check out http://www.hostpro.com/hosting/shared/unix_products.html
It's a semi-dedicated virtual environment with complete root access.
-Brian
> -Original Message-
> From: Hrishi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 10:10 AM
> To: PHP List
> Subject: Re: [PHP]
This is actually a Vservers product. Vservers merged with
HostPro back about 8 months ago. They continue to develop
their own product line under the HostPro moniker with HostPro
providing the font-line tech support and billing and of course
taking all the credit ;-)
It's a very flexible packag
Hmmm, well I guess everyone has different experiences.
We've been with them (Vservers) for 5 years now and
never had a single problem with downtime...
> -Original Message-
> From: Gary [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 11:49 AM
> To: [EMAIL PROTECTED]
> Subje
Wasn't 3.23 just declared stable like a couple weeks ago?
> -Original Message-
> From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 1:50 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] a good hosting experience
>
>
> The last time I us
5 minutes to reply that they would be more than happy
> to get your IP and go over any problem you might have reaching
> WeberDev.com.
>
> Now, how is that for service?
>
> Sincerely
>
> berber
>
> Visit http://www.weberdev.com Today!!!
> To see where PH
perience
>
>
> At 11:32 AM -0500 21/2/01, Brian V Bonini wrote:
> >This is actually a Vservers product. Vservers merged with
> >HostPro back about 8 months ago. They continue to develop
> >their own product line under the HostPro moniker with HostPro
> >providing the f
I've tried and tried and tried ;-)
I have this array;
$bikes = array(
"Road" => array(
"Trek" => array(
"Trek 5200" => "road.php?brand=t5200"
),
"Schwinn" => array(
"Schwinn Fastback Pro" => "road.php?bra
This could be a JS issue but right now I'm really
not sure.
I have this code,
} elseif ($cat == 'bikes' && $sub_cat == 'Road') {
$i = 1;
while ( list($type,) = each($bikes[$sub_cat])) {
echo "\n";
echo "$type\n";
$i++;
}
echo "";
Which creates this (in IE),
Tre
HTTP_USER_AGENT
http://php.net/manual/en/language.variables.predefined.php
-Brian
> -Original Message-
> From: Paulson, Joseph V. "Jay" [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 11:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Browser?
>
>
> Is there a way to tell
Use the modulus operator
> -Original Message-
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 05, 2001 3:18 PM
> To: PHP User Group
> Subject: [PHP] Is it odd or even???
>
>
> Hello,
>
> Is there an easy way to check and see if a number is odd or even?
>
>
nl2br -- Inserts HTML line breaks before all newlines in a string
http://php.net/manual/en/function.nl2br.php
-Brian
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 07, 2001 12:09 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Text and for
This has been done, no need to re-invent the wheel
unless of course you wanted to.
> -Original Message-
> From: Philip Jeffs [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 31, 2001 8:30 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] web mail clients?
>
>
> Hi,
>
> I'm looking into se
I need to build an on-line training log where a coach
can enter training routines for specific athletes and
atheltes can retrieve their training and log their
daily results.
Has anyone ever done/started a project along these line?
Has anyone seen somethign like this done in PHP?
Has anyone seen s
I'm trying to redirect based on referring host
and request.
I have an .htaccess set up like this:
RedirectMatch (.*)\.gif$ http://www.domain.com/_borders/test.php
to redirect all requests for .gif's to a php script which then
determines the referring host.
$url=parse_url($HTTP_REFERER);
if ($url
}äò,XOWýH0PE8´ä,Sx'ÀµT÷Src`ÀÏÀrBÀ7í¨òT ÙÑç|+iûJFAERKfÙ4
J³Ð²
etc.
or a broken image symbol.
-B
> -Original Message-
> From: Girish Nath [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 11:21 AM
> To: Brian V Bonini
> Cc: [EMAIL PROTECTED]
>
mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 7:55 PM
> To: Brian V Bonini
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Need a little help
>
>
> Hi Brian
>
> I've just setup the RedirectMatch in Apache and tried the PHP script
> (test.php) out and it wo
ken image.
-brian
**
> -Original Message-
> From: Girish Nath [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 7:55 PM
> To: Brian V Bonini
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Need a little help
>
>
> Hi Brian
>
> I've jus
Anyone know what "fdisk" stands for?
I've heard both "fixed disk" and "format disk",
I always thought the later
Sorry for for the OT post.
-B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://us4.php.net/manual/en/function.mail.php
> -Original Message-
> From: Cristian Cerda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 4:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] outgoing email server
>
>
> How do you set up the outgoing mail server using mail()
I'm sorry I did not read through your entire post the first time...
You set the SMTP server in php config file:
SMTP = smtp.yourisp.com
> -Original Message-
> From: Cristian Cerda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 4:36 PM
> To: [EMAIL PROTECTED]
> Subject: [P
.htaccess ;-)
http://httpd.apache.org/docs-2.0/configuring.html#htaccess
-B
> -Original Message-
> From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 12:35 AM
> To: PHP General List
> Subject: [PHP] phpMyAdmin protection
>
>
> Hey PHP General List,
>
How can I access the inner most info in this array?
Ie, Item and url
$var = array(
"category" => array(
"subcategory" => array(
"Item" => "url"
),
)
);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I'm passing an html email from a form
like this:
$message = $message_html;
where message_html is the text area name.
mail($to, $subject, $message, $headers);
I end up with, for example:
http://www.gfx-design.com/vantico/spacer.gif\"; width=1\" height=10\"
alt=\" border=0\">
it's trying t
Ok so,
$message = stripslashes($message_html);
mail($to, $subject, $message, $headers);
???
-brian
> -Original Message-
> From: faeton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 5:39 PM
> To: Hank Marquardt
> Cc: Brian V Bonini; PHP Lists
> Su
change error level reporting
error_reporting()
-Brian
> -Original Message-
> From: Andy [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 30, 2001 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] declaring variables mandatory???
>
>
> Hello,
>
> I have a problem with my php installatio
I'm stuck. $key returns "Array" how can I get at each
level of this array?
if ($cat == 'bikes' && $sub_cat != 'Road') {
while (list($val, $key)=each($bikes[$sub_cat])) {
echo "\n";
echo "$val\n";
$bikes = array(
"Road" => array(
"Trek" => array(
No, all that will do is reverse the placement
of the values. So now it prints out Array
and puts the item in the URL. Still the same problem.
> -Original Message-
> From: Jim Musil [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 30, 2001 4:54 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL P
I still can't get this to do what I want:
$bikes = array(
"Road" => array(
"Trek" => array(
"Trek 5200" => "road.php?brand=t5200"
),
"LeMond" => array(
"Zurich" => "road.php?brand=zurich",
"C
c: [EMAIL PROTECTED]
> Subject: Fwd: [PHP] Stuck on array, need a little help.
>
>
> Hmm. Mail didn't go through, trying again...
>
> Begin forwarded message:
>
> >
> > On Tuesday, December 4, 2001, at 09:16 AM, Brian V Bonini wrote:
> >
> >> I
I need to replace all relative links in an html
doc with absolute links on the fly weather it
be an image link,
a URL,
a link to an external JS file
or external css file.
Anyone done this before and have a prefab regex laying
around they want to share?
-Brian
--
PHP General Mailing Li
I need to replace all relative links in an html
doc with absolute links on the fly weather it
be an image link,
a URL,
a link to an external JS file
or external css file.
Anyone done this before and have a prefab regex laying
around they want to share?
-Brian
--
PHP General Mailing Li
s);
> $the_html =
> preg_replace('~(src=|href=)("|\')(?!href://)(.*?)(\2)~','\1\2'.$AB
> SOLUTE_HREF.'\3\4',$the_html);
> echo htmlspecialchars($the_html);
>
> ?>
> - Original Message -
> From: "Brian V Bonini" <[EM
Why is this:
returning this:
Last Modified: December 31, 1969, 7:00 pm
from this:
-rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php
Anyone?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Why is this:
returning this:
Last Modified: December 31, 1969, 7:00 pm
from this:
-rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php
Anyone?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Is there a reason you not using PHP's include method
to do this?
Rename your shtml file to have a PHP extension, replace
the SSI instructions with PHP functions. You should
be good to go.
-Brian
***
> -Original Message-
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
>
mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 32270 invoked from network); 21 Mar 2001 16:33:56 -0000
Errors-To: <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: <[EMAIL PROT
I believe you need to set the cookie
before any other header information is
passed.
-brian
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] need help with cookies
>
>
> Hi, I am
Doesn't UPS provide tools to do this? Not necessarily
using PHP but I thought
> -Original Message-
> From: Dan Harrington [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 06, 2001 3:45 PM
> To: Joe Sheble (Wizaerd); General PHP List
> Subject: RE: [PHP] Tracking shipments U
>From the PHP manual:
http://www.php.net/manual/en/features.remote-files.php
Example 20-1. Getting the title of a remote page
http://www.php.net/";, "r");
if (!$file) {
echo "Unable to open remote file.\n";
exit;
}
while (!feof ($file)) {
$line = fgets ($file, 1024);
/* This onl
On Fri, 2004-09-17 at 22:22, raditha dissanayake wrote:
> Michael Mao wrote:
>
> > Is there a way to capture a snapshot of a html page and save it as a
> > jpg using php?
> >
> This is something that's very very hard to do with PHP but can be easily
> done with Java.
Have not tried this but ho
On Mon, 2004-09-20 at 19:37, Stut wrote:
> On Mon, 20 Sep 2004 16:20:21 -0700, AMC <[EMAIL PROTECTED]> wrote:
> > Is there a tool that will generate a script that can be run to rebuild a
> > mysql database? I need to move my database to a different server
No need to use PHP which also makes this O
On Thu, 2004-10-21 at 14:07, Mag wrote:
> Hi,
> I have a requirment to dynamically brighten, darken or
> add/remove contrast from a thumbnail image, since I
> cannot do this in GD I was thinking of doing this in
> ImageMagik, but searching google I cannot find many
> tutorials and even visiting the
On Fri, 2004-10-22 at 09:05, Pablo D Marotta wrote:
> Hi, I´m developing an intranet on Apache-PHP-Mssql.
> I need to know if there´s any way of managing users to have access to specific
> areas inside my site, and at the same time, managing other users, giving them
> permision to acces other areas
On Fri, 2005-02-25 at 13:36, Chris W. Parker wrote:
> How can I turn the following into something that resembles the ternary
> operator?
>
>
> if($something)
> {
> $this = $that;
> }
>
> ?>
$this = (isset($something)) ? $something : $that;
The expression (expr1) ? (expr2) : (expr3)
On Fri, 2005-03-25 at 08:57, Jacques wrote:
> How should I formulate the header function to replace the current frameset
> page with a new one? I have tried a combination of header("Location:
> page.php target=_parent"); but I get an error message saying the page does
> not exist.
>
> Also, ca
On Fri, 2005-04-22 at 09:14, Dasmeet Singh wrote:
> Hi!
> I need to create an image map on a country map, where people can click
> on any state and get some info related to it.. In such case the regular
> polygon/circle/rectengle image map wont do bcoz of shapes of state..
Poly will define any
On Tue, 2005-04-26 at 17:05, Sebastien Pahud wrote:
> Hello,
>
> I cannot figure out how to read a specific "cell" in a result i got from
> a SQL request.
>
> I have a SQL request on a database:
> SELECT nameAttribute, fr, de, en
> FROM traduction
> WHERE nameTable = 'whatever'
> AND idTable = 1
Using libxslt and DOM to load up an xml file and display within another
file via 'include'.. Something is adding in '' is
there a switch or something that turns this off?
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
==
On Fri, 2005-05-13 at 07:10, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I have only recently started to look at php, I hope this list dose not
> mind 'noob' questions.
>
> I have got 'Programming PHP' by Rasmus Lerdorf, Kevin Tatroe and 'Web
> Database Applications with PHP and MySQL' Hugh E. Willia
On Fri, 2005-05-13 at 06:34, Erwin Kerk wrote:
> Bogdan Stancescu wrote:
> > You probably mis-typed something:
> >
> > [EMAIL PROTECTED] ~]$ php
> > > if ("info" == 0) echo "is 0\n"; else echo "not 0\n";
> > ?>
> > Content-type: text/html
> > X-Powered-By: PHP/4.3.11
> >
> > is 0
> Tried that, b
session_start();
header("Cache-control: private"); // IE 6 Fix
$user_quotes = $_SESSION['user_quotes'];
if (!isset($user_quotes) || $user_quotes >= count($quote_result) - 1) {
$user_quotes = 0;
} else {
$user_quotes++;
}
echo "";
echo $_SESSION['user_quotes'] . "\n";
print_r($_SESSION);
ec
On Fri, 2005-05-13 at 10:31, Georgi Ivanov wrote:
> But it gives me error on this line :
> $DomDocument = domxml_open_file($file);
What's the error?
Try:
$dom = dom_xml_file($file);
--
s/:-[(/]/:-)/g
BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
On Fri, 2005-05-13 at 14:12, Dustin Wish wrote:
> Anyone run across an issue where a php script works in IE and not Firefox?
> Christianboards.org is a PHP nuke site running on a Enism linux box that is
> having this issue.
http://www.christianboards.org/ comes up fine for me; firefox/linux
howeve
Everything in php.ini seems to be correct. Is there soem thign I'm
supposed to pass to 'configure' at compile time?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is solved...
--original--
session_start();
header("Cache-control: private"); // IE 6 Fix
$user_quotes = $_SESSION['user_quotes'];
if (!isset($user_quotes) || $user_quotes >= count($quote_result) - 1) {
$user_quotes = 0;
} else {
$user_quotes++;
}
echo "";
echo $_SESSION['user_quotes
On Fri, 2005-05-13 at 17:51, Jason Barnett wrote:
> Brian V Bonini wrote:
> > Everything in php.ini seems to be correct. Is there soem thign I'm
> > supposed to pass to 'configure' at compile time?
>
> Session support is now built-in by default, so unless yo
On Sat, 2005-05-14 at 06:00, Claudio wrote:
> Hi,
> I've used loadHTML() to read a HTML file to DOM. This file starts with a
> string like
>
>
> Do someone know how I can access this string? By reading the doctype back
> from DOMDocument I only found the name (HTML) but nothing more...
>
Tes
On Fri, 2005-05-13 at 23:31, Jason Wong wrote:
> On Saturday 14 May 2005 09:42, Brian V Bonini wrote:
>
> > Yeah, I know session support is there and I DO NOT have it set to use
> > ONLY cookies. But if I disable cookies in the browser stuff relying on
> > sessions stops
On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > Hi,
> > I've used loadHTML() to read a HTML file to DOM. This file
> > starts with a string like > HTML 4.01 Transitional//EN">
> >
> > Do someone know how I can access this string? By reading the
> > doctype back from DOMDocument I only f
On Sat, 2005-05-14 at 16:08, Johannes Findeisen wrote:
> On Saturday 14 May 2005 16:25, Brian V Bonini wrote:
> > >
> > $html = << >
> > Test
> > EOS;
> >
> > $pattern = ' > Transitional//EN">';
> >
> >
On Sat, 2005-05-14 at 13:03, Jared Williams wrote:
> >
> > On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > > > Hi,
> > > > I've used loadHTML() to read a HTML file to DOM. This file starts
> > > > with a string like > > > Transitional//EN">
> > > >
> > > > Do someone know how I can acce
On Sat, 2005-05-14 at 22:44, Richard Lynch wrote:
> Using Cookies, or using URL, the session DATA will be stored on the server
> in /tmp files -- Unless you change php.ini to store them somewhere else,
> in which case, again, the Cookie and URL only holds the ID and all the
> data goes wherever you
On Mon, 2005-05-16 at 12:23, Carlos Palomino wrote:
> Hi everyone,
> I have just begun writing PHP web-pages and I have come across an interesting
> issue.
> Whenever I use special characters within my code such as: a "©", the
> character
> displays as a "?".
Because that's not valid HTML... S
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote:
> Does show the same /path/to/php.ini as the one you edit?
>
Yup
> To be 100% certain, use 'stop' to stop Apache and then do:
> ps aux | grep httpd
>
> You should see only the "grep httpd" output, or no output at all.
Did that...
> Then
101 - 200 of 334 matches
Mail list logo