On Sat, 2006-04-22 at 15:31, Martin Alterisio wrote:
You're wrong, he isn't using an associative array, since the keys used
are only integers.
Well, if you really want to argue semantics then technically we're both
wrong because there are no different indexed and associative array types
in PHP,
On Sat, 2006-04-22 at 14:16, Jochem Maas wrote:
with regard to Suresh - do you, Brian, know how many times he has posted
similar
question to this list this year? (this is the first time he has even given
an indication that he knows where the manual is let alone opened it btw) do
you
know
On Sat, 2006-04-22 at 07:09, suresh kumar wrote:
sorry.earlier i mistyped some values.
I am facing one project in my project .
this is my code:
a=array(0=10,1=10,2=40,3=30,4=30,5=10);
b=array();
b=array_unique($a);
print_r($b);
o/p getting from above code
Jochem's site:
snip
http://iamjochem.com/mariecke/index.php
Mariecke's daily ramblings (almost) in dutch english... this page is
using output from a drupal system.
If nothing else they have a nice logo. ;)
Warning: main(./../blog/parse.php): failed to open stream: No such file
or directory
On Wed, 2006-03-01 at 19:25, Chris wrote:
Raúl Castro Marín wrote:
I got a little question, I just start to use binding adodb but I got a
problem: my primary query on Oracle is:
$query = SELECT munici_mun, UPPER(nombre_mun)
FROM MUNI
WHERE departa_dpt = ? AND
munici_mun = 994;
On Sun, 2006-02-05 at 06:32, Tod Thomas wrote:
Just a quick shot it the dark...
http://www.w3.org/TR/REC-xml/#NT-Name
Go up about a half page to this:
[Definition: A Name is a token beginning with a letter or one of a few
punctuation characters, and continuing with letters, digits,
On Fri, 2006-02-03 at 16:23, Richard Lynch wrote:
I've got my money on the XML spec REQUIRING an alphabetic start to
tagnames, and subsequent characters can be alphanumeric...
In other words, it doesn't work because 0 is not a valid XML tag.
Yeah, that was my instinct too... Just could not
AD_DATA
SESSION_INFO
FIRST_NAMEJoe/FIRST_NAME
LAST_NAMEShmoe/LAST_NAME
TEST_KEY
foofoo/foo
barbar/bar
/TEST_KEY
OPTIONS
0DNR/0
1OPT/1
2FOO/2
3BAR/3
4CWS/4
5AVS/5
/OPTIONS
HEIGHT72/HEIGHT
WEIGHT96Kg/WEIGHT
/SESSION_INFO
PAA
logCount0/logCount
etc...
$xml_data = $xml;
$parser =
On Sun, 2006-01-29 at 02:01, Adam Hubscher wrote:
I have a block of XML that looks as follows:
namelt;*_~_*gt; Røyken VGS lt;*_~_*gt;/name
My question is, can I in any way efficiently (i -stress- efficiently, if
anyone read my previous XML and special characters post its a rather
large
On Wed, 2006-01-25 at 08:01, Angelo Zanetti wrote:
Hi guys.
I got an entry in a field called emailfrom in my table (MySQL db).
The data in that field is: Sams Bank [EMAIL PROTECTED]
I then do the following to retrieve the info, using a DB class
$recordset=$conn-Execute(SELECT * FROM
On Sun, 2005-12-18 at 07:41, Anasta wrote:
It just wont insert new data into DB--any ideas as i have gone over and
over.
Your not doing any inserts, two selects and one update...
insert in t1 values('foo','bar','1 1 2 3 5 8 13');
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC
On Sun, 2005-12-18 at 15:22, Gustav Wiberg wrote:
Ajax? What is that?
Asynchronous JavaScript and XML, or Ajax, is a web development technique
for creating interactive web applications using a combination of:
- XHTML (or HTML) and CSS for marking up and styling information
- The Document
On Sat, 2005-11-26 at 16:18, Shaun wrote:
Hi,
Given a start day and month and end day and month (i.e. 01-01 to 31-03) how
can one check if another set intersects these dates?
Convert each to epoch and test for floor ceiling, just a thought.
$a = array(mktime(0, 0, 0, 1, 1, date('Y')),
On Sun, 2005-11-20 at 05:44, Łukasz Hejnak wrote:
Hello again, here's some more extra info on my case that came out while
Suhas Pharkute was helping me find a resolution:
So the safe-mode is off, that's for sure, I turned it off at compile stage.
I delete the file after each run of the
On Sun, 2005-11-20 at 09:38, Łukasz Hejnak wrote:
Brian V Bonini napisał(a):
You are saying:
From the CLI you can write to a file all day long, no prob.
Yes, the shell command php test.php works fine when executed as root
(any other user has the same problem as from the web)
From the web
On Fri, 2005-11-11 at 15:25, cybermalandro cybermalandro wrote:
I have this that looks like this
array(3) {
[0]=
array(2) {
[0]=
string(1) 1
[1]=
string(1) 2
}
[1]=
array(2) {
[0]=
string(3) 492
[1]=
string(3) 211
}
[2]=
array(2)
On Thu, 2005-07-21 at 08:23, Marco Tabini wrote:
We had a webcast on PHP and Ajax a while back--the recordings are still
available for free at http://blogs.phparch.com/mt/index.php?p=49.
Nice, totally crashes Firefox in Linux.
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key
On Fri, 2005-07-15 at 17:53, Chris wrote:
Yeah, I understand... Is multiple inheritance something that true OOP
languages can do?
Yes.
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
On Thu, 2005-07-14 at 12:09, Adam Hubscher wrote:
My questions are this:
A) Is there any way to set the permissions on the file on creation of
the image?
Set umask 002 on the user php is running as.
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
On Wed, 6 Jul 2005, blackwater dev wrote:
I have a linux box which I use periodically. I built php 5.0.3 on it
and it runs fine. I just came across a situation where I need to
compile in the zlib extension so I got into my php folder and did
./configure with my options, then make and make
On Thu, 2005-06-30 at 10:47, Bob Winter wrote:
Brian,
Is /www/files/services/ the correct relative path?? You could
try using the absolute path to see if it fixes the problem.
Also, and maybe more significant, I use tcsh . . . if you use bash
this could be the conflict. I see that
On Wed, 29 Jun 2005, Bob Winter wrote:
Brian,
The script works for me, I should have included the screen
input/output, which now follows:
Hmmm, this simply does not work for me. Maybe something with my version of
php or ssh.. I'm at a loss..
$ php -v
PHP 4.3.5 (cli) (built: Apr 30 2004
On Tue, 28 Jun 2005, Bob Winter wrote:
Brian,
The format of your string that works for me is :
$cmd = scp [EMAIL PROTECTED]:$directory/\{$files\} $tmp_dir;
$files must be a comma separated string with NO SPACES.
Here is my complete test script for your review:
START =
On Mon, 2005-06-27 at 20:51, Jasper Bryant-Greene wrote:
Brian V Bonini wrote:
I can echo out the command and get a well formed command, i.e.
one that will execute from a command prompt, but when I try to
exec() $cmd from within the script the globbing is taken
literally.
Try
}
if(file_exists($tmp_dir)) rmdir($tmp_dir); // remove
the temp dir
$err= true;
}
}
--Bob
Brian V Bonini wrote:
On Mon, 27 Jun 2005, [ISO-8859-1] Andr? Medeiros wrote:
$cmd = 'scp ' . $user . '@stagingcws.' . $tld . ':' . $directory
On Mon, 27 Jun 2005, [ISO-8859-1] Andr? Medeiros wrote:
$cmd = 'scp ' . $user . '@stagingcws.' . $tld . ':' . $directory/{' .
$files . '} ' . $tmp_dir . '/';
That should work
On 6/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Can not make this work inside a php script.
Have tried
On Sun, 2005-06-26 at 06:38, Pedro Quaresma de Almeida wrote:
Hi
I have two databases, on for aeromodelistas (aeromodelling) and
another for Códigos Postais (Postal Codes). I whant to do the
following query
SELECT CódigoPostal FROM Aeromodelistas
WHERE CódigoPostal IN
(SELECT
On Sat, 2005-06-25 at 17:01, bruce wrote:
feel kind of foolish posting this.. but i can't seem to figure it out for
now..
i have an array, i can do a print_r($foo) and get the following:
Array
(
[bookmark] = 1
[facets] = Array
(
[0] = Array
(
On Sun, 2005-06-05 at 16:37, Jack Jackson wrote:
This is something dumb I am doing but:
Trying to pull all names of publishers in db. This sql:
SELECT art.art_id,art.publisher_id,publisher.publisher_name,
FROM art
LEFT JOIN publisher
ON publisher.publisher_id=art.publisher_id
pulls
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
I don't want to strip out all the tags, just certain ones. But the
problem turned out not to be in this peice of code- the script simply
wasn't parsing. I started another thread with that problem after
failing to fix it on my own.
The
On Sun, 2005-06-05 at 18:13, Dotan Cohen wrote:
On 6/6/05, Brian V Bonini [EMAIL PROTECTED] wrote:
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
I don't want to strip out all the tags, just certain ones. But the
problem turned out not to be in this peice of code- the script simply
On Mon, 2005-05-30 at 11:13, Murray @ PlanetThoughtful wrote:
Someone much more clever that I can probably come up with something much
cleaner and efficient but This works...
Definitely not more clever and arguably not more efficient, but a different
way of handling this might be:
?
On Mon, 2005-05-30 at 12:58, Murray @ PlanetThoughtful wrote:
?
$string = this;
$string{0} = strtoupper($string{0});
echo $string; // should return value of This
?
I knew you could access but I didn't realize your could assign/replace
specific chars like that, i.e. $string{x} =
I can
On Mon, 2005-05-30 at 15:24, Murray @ PlanetThoughtful wrote:
This is a great help, thanks to both. One question I have though.
How do I just leave the formatting as is? In the loop you gave me,
Brian...:
[snippage]
I can't see how I can disregard strtolower without disrupting the
On Mon, 2005-05-30 at 16:24, W Luke wrote:
On 30/05/05, Brian V Bonini [EMAIL PROTECTED] wrote:
[...]
Again, an example that is as close to your real-world needs as possible
would be very helpful.
The original request was: the text-to-replace is just in a var named
$text1
On Sun, 2005-05-29 at 12:22, W Luke wrote:
Hi,
I have some text in a file which, when it's dumped to a var, needs to
be replaced. In its raw form, it looks like this: ^JIM_JONES and I
need to remove the ^_ and characters and have it read Jim-Jones
It's nestled in amongst a load of other
On Sat, 2005-05-21 at 06:30, Ross wrote:
I have the folowing code which checks whether the user has logged in.
if (!isset ($_SESSION['new_session'] ) )
{
$login_status = div class=\standard_text\Your are not signed in
/div;
}
if (isset ($_SESSION['new_session'] ) )
{
$address =
On Wed, 2005-05-25 at 16:11, Jeremy Reynolds wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
--
Sorry, I think my spam filters got any responses. If you replied,
could you please resend it to me?
ord()
--
PHP General Mailing List
On Wed, 2005-05-25 at 16:01, Jeremy Reynolds wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
ord()
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
On Fri, 2005-05-20 at 23:54, Jim Sara Feldman wrote:
Warning: session_start(): Cannot send session cookie - headers
already sent by (output started at
/Library/WebServer/Documents/testit/Logsafe_project/db_fns.php:212)
in /Library/WebServer/Documents/testit/Logsafe_project/member.php on
On Fri, 2005-05-20 at 12:51, Mário Gamito wrote:
Why is this wrong and how to make it right ?
I did this and sent myself a link to it via email, clicked it from
within my email client (Evolution) which launched a browser and called
the script successfully writing the vars to test.txt. Of course
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote:
Let him fight with phpIniDir some other day.
Something interesting maybe:
http://gfx.gfx-design.com/session_test.php
Hit your browsers refresh button.
I would think SID is NOT supposed to change with every page refresh..??
?php
On Wed, 2005-05-18 at 11:53, Luis wrote:
Ross wrote:
I want to write a string to a variable and use $_POST or $_GET to retrieve
it on another page.
$string = 'this is a string';
echo 'a href=another_page.php?val=' . $string . 'Next page/a';
another_page.php:
echo $_GET[val];
--
On Wed, 2005-05-18 at 12:00, Paul Nowosielski wrote:
HI All,
I'm trying to build an array of user id's. This is the code I've written
that does not work.
while($row=mysql_fetch_array($result)){
// put user ID's into an array;
$uidToAdmin .= array ($row[user_id]);
// for
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote:
Does ?php phpinfo();? 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...
On Tue, 2005-05-17 at 06:00, Merlin wrote:
Hi there,
I am trying to find a way to count the number of times (if any) words are
inside
a string. So I played around with ereg, preg_match_all and so on, but could
not
put together a working code.
Maybe something like this?
?php
$words =
On Tue, 2005-05-17 at 09:53, Jason Barnett wrote:
Brian V Bonini wrote:
...
Still no go... Other changes in php.ini DO take effect, just not
this I'm at a loss
By any chance are you changing PHP values through Apache's conf file?
I am, in ANOTHER virtual hosts container
On Tue, 2005-05-17 at 15:58, Richard Lynch wrote:
On Tuesday 17 May 2005 21:01, Brian V Bonini wrote:
Still no go... Other changes in php.ini DO take effect, just not
this I'm at a loss
Does phpinfo() show trans_sid as on or off?
Shows it as 0 or 1 depending on how I set
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... See:
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
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
Do someone know how I can access this string? By reading the doctype back
from DOMDocument I
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 working. I'm using 5.0.3
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 !DOCTYPE HTML PUBLIC -//W3C//DTD
HTML 4.01 Transitional//EN
Do someone know how I can access this string? By reading the
doctype back from
On Sat, 2005-05-14 at 16:08, Johannes Findeisen wrote:
On Saturday 14 May 2005 16:25, Brian V Bonini wrote:
?php
$html = EOS
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
htmlbodyTestbr/body/html
EOS;
$pattern = '!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
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 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
Do someone
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. Williams,
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, but notice the PHP
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 pre;
echo $_SESSION['user_quotes'] . \n;
print_r($_SESSION);
echo
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
however
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 pre;
echo
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 you specifically
compile without it then you
Using libxslt and DOM to load up an xml file and display within another
file via 'include'.. Something is adding in '?xml version=1.0?' is
there a switch or something that turns this off?
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
; font-style: italic;xsl:value-of
select=quote_author//div
/div
/xsl:for-each
/xsl:template
/xsl:stylesheet
I know how to load the document, parse it, display contents etc... But
how can I grab just one group of values at a time using php?
--
Brian V Bonini
[EMAIL PROTECTED]
GnuPG
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
ORDER BY
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 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, can I
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?
?php
if($something)
{
$this = $that;
}
?
$this = (isset($something)) ? $something : $that;
The expression (expr1) ? (expr2) : (expr3)
Just compiled PHP5 usign --enable-xml (though I see it is supposed to be
enabled by defaut however I'm getting 'call to undefined function'
errors now.
Fatal error: Call to undefined function xml_parser_create() in
bla/bla/bla on line xxx
phpinfo(): http://gfx-design.com/test/
Apache is 2.x
--
%cat config.txt | tr -s \n
--enable-versioning --enable-memory-limit --with-layout=GNU
--with-zlib-dir=/usr --with-imap=/usr/local --disable-all
--with-regex=php --disable-cli --enable-ctype --with-gd
--enable-gd-native-ttf --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local
On Mon, 2005-01-31 at 12:56, Richard Lynch wrote:
Brian V Bonini wrote:
%cat config.txt | tr -s \n
--enable-versioning --enable-memory-limit --with-layout=GNU
--with-zlib-dir=/usr --with-imap=/usr/local --disable-all
--with-regex=php --disable-cli --enable-ctype --with-gd
--enable-gd
On Thu, 2004-11-04 at 12:47, Vail, Warren wrote:
If you can figure out how to make sense of this, you might be able to find
the point that a system is connected to the internet, by tracing back to a
visitors current IP address.
Which may get you close but either way would probably be more
On Mon, 2004-11-01 at 10:44, bb9876 wrote:
I want to allow people to upload images but I want to be able to put
limitations on it, such as allow only jpg and gif extensions and make sure
the image is no larger than 60x60. Is there any way to do this?
On Mon, 2004-10-25 at 09:37, Phpu wrote:
Hi,
How can i do a php script with a html extensionsuch as
http://www.blinds-wise.com/shop/p/blind/bid/1/venetian_blinds.html
AddType application/x-httpd-php .php .php3 .html
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key
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 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 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 OT
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 how about
n e 1 know of a web based front end for CVS? Not just a file/project
browser but a fully functioning web based GUI.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2004-05-29 at 13:49, lists wrote:
tortoise is nice
http://www.tortoisecvs.org/
So is Cervisia but not sure what that has to do with the original
question... ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2004-05-29 at 15:01, Johan Holst Nielsen wrote:
Lists wrote:
As far as I can see, it have nothing to do with an web frontend?
you're so right. I meant to send the link for horde
http://www.horde.org/chora/
Are you able to check out files? check in etc.?
As far as I can
Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150
146: /p
147: ?php
148: }
149: include foobar.inc.php4;
150: ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-04-14 at 16:47, Curt Zirzow wrote:
* Thus wrote Brian V Bonini ([EMAIL PROTECTED]):
Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150
You're missing a } somewhere.
?php
if (1 ) {
?
Yup, I sure was :-D
--
s/:-[(/]/:-)/g
BrianGnuPG
On Thu, 2004-04-01 at 18:26, Jason S Motes wrote:
The picture that comes up on my machine is a guy's head with two pencils
stuck in his nose
Matt Matijevich wrote:
snip
Has anybody had the PHP logo in phpinfo() appear with a picture of a
dog?
/snip
April Fools easter egg
Too
On Mon, 2004-03-22 at 14:35, Elliot J. Balanza wrote:
Hi
I've been trying to use MySQL dump with a php query (since we dont have like
a mysql_dump function) but it's not working.
Can anyone please point me to a page so i can read a method to backup MySQL
databases to an .sql file using
On Thu, 2004-03-18 at 14:06, Aaron Doogs wrote:
I have changed upload_max_filesize in my php.ini, but the default of 2M is
still being recognized. I restarted the apache server, ran a script to
output phpinfo() and it still says 2M for upload_max_filesize. Yet when I
open php.ini is has 8M
On Wed, 2004-03-17 at 12:23, Mark wrote:
I have the following snippet of code that I cannot seem to find a way to
add an image to a TR. The line in question is the first one under the
else statement:
print TR BGCOLOR=\#381499\;
This line, I would like to show a image called backgrnd.png
($my_array)) . \;
?
/form
What value are you trying to get from or place in value for the hidden
field?
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
line quiz site where the user is presented with a
question and 4 possible answers.
First thing is, where is your form? Unless I'm going blind I do not see
any form elements in this snippet.. Or is it just outside of what you
posted?
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing
know that some of the regulars have quit
answering questions because they are annoyed at the basic lack of list
skills. There are several web sites that give good guidelines for list
posting, please search google for them and have a look.
[/rant]
YEAH! What he said.. :)
--
Brian V Bonini
On Mon, 2004-03-08 at 21:34, Span wrote:
I think it can't work if the server has set the default_charset in the
php.ini .
eg:
if in php.ini has:
default_charset=gb_2312
then only changing the charset in html page didn't work.
header('Content-type: text/html; charset=UTF-8');
Are you
sure? I've not actually tried it but php.ini also has a default
Content-type which you CAN override using header().
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2004-03-08 at 12:29, Thiago Silva wrote:
What about Quanta?
LOVE Quanta, been using it for a couple years now
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
annoyed by questions that you think
are beneath you or what?
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2004-03-05 at 06:55, Amimu Austin wrote:
Hi
I am a newbie in PHP and MySQL. I have developed a web databse using PHP and
MySQL. However , I need more info on these product. Any sites you can
recommend.
php.net
mysql.com
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing
Do yourself a favour, study the example in the manual, get it working,
understand how it works,
Lighten up Francis, it was 10pm at night after a 14 hour day and 62 hour
week.
I appreciate the help but can do without the cynicism.
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General
');
break;
case art
output('art')
break;
case animals:
output('animal');
break;
case contact:
output('contact');
break;
}
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Sat, 2004-03-06 at 16:17, joel boonstra wrote:
Hrm... why the switch() statement?
Ir seemed close to what he already had going.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of my
proggie to force php to use charset( UTF-8 ) instead of the regular charset
defined in php.ini
header('Content-type: text/html; charset=UTF-8');
--
Brian V Bonini [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 312 matches
Mail list logo