Hi,
I am in need a transfering an existing mySQL database to PostgreSQL. I have
seen info on the converter. Before I get started I wanted to see info anyone
has any insight or tips on converting these DBs (ie- is it problematic,
inconsistent, etc). Thanks!
John
--
PHP General Mailing List (h
What You mean?
I cant read STDIN in cgi-bin module by my self?
its worse that I thought :
"Yasuo Ohgaki" wrote in message <9d0gam$rdu$[EMAIL PROTECTED]>...
>This is not possible with current PHP.
>If you search recent php-dev list archive, you will find some more info.
>
>""ondi"" <[EMAIL P
A good friend of mine just moved to England. Devon to be exact. He's
having quite a time finding a reliable internet provider. Anybody know of
any reliable providers in that area?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
py wrote:
> any of you has a tutorial/info on how to update a flash file (swf) with a
php script ?
> (data coming from a text file and a database)
I have not seen a tutorial, but there are two simple working examples in
Rasmus' Intro to PHP presentation here:
http://conf.php.net/pres/index.php?p=s
On Mon, May 07, 2001 at 06:54:53PM +0200, Vincen Pujol wrote:
> Hi,
> Sorry for the crossposting but I don't know where to find a
> solution for this. I need to be able to update dynamically entries in a DNS
> (Bind 9). My DNS supports dynamic updates but how to do dyna
"Brandon Orther" wrote:
> I am using php with frames for a menu bar. In one frame I have a menu.
> When the link is clicked on the menu I would like two frames to be
updated.
> Is there a way to do this?
As others have said, this is a JavaScript task not a PHP task.
I am pretty sure there is a
"Altunergil, Oktay"wrote:
> The link that goes to interbase's web site in freshmeat.com redirects to
> http://www.borland.com/interbase/
> which does not list the product as free or open source?
>
> Is there another version?
>
> oktay
My understanding is that the current open source version is a
Hi all,
I am trying using PHP with Flash Generator.
The designer has given me a Flash file created using Macromedia's Flash
Generator 2.
The platform is BSDi / Lang - PHP / Database - MySQL.
I want to change the content INSIDE the Flash file dynamically (not the
flash itself). From books I
Hombre, necesitamos un poco mas de informacion para ayudarte. Cuales
versiones de PHP y IIS, por ejemplo, y cual version de Windows?
Como lo instalaste? Como modulo o como CGI?
La pagina de prueba, tiene todos los "tags" que necesita? (es decir, . Tiene el archivo la extension ".php"?
Como has
there are two ways to simplify your code:
1. database. Keep the usernames in another table. Check against it to verify
that the passwords are correct and then go ahead pulling the data out.
2. read on about eval(). php.net/eval eval converts your string into php
code. So your if else statements c
On Mon, 7 May 2001, Jeff wrote:
> I have two questions:
>
> 1) I've seen a lot of benching by pc magazine and they're saying how
> great cold fusion is and how bad php is. However, they don't use Zend
> in any of their tests. Does anyone know of benchmarks against popular
> systems that incl
Okay I get the: Call to a member function on a non-object error when trying to execute
this script:
It happens in this area:
$db=mysql_connect(localhost,'***','***') or die("Unable to connect to database");
$edlist = new EditList("serverId", "hlstats_Servers", "server");
$edlist->columns[]
Hello,
I started to do a php page with mysql connection..
My problem is:
I do query from a mysql, I try to setup usernames + passwords
to protect the database
They would need to use specific user+password+cities to be able to connect.
Bad passwd would just print an access denied messsage..
ht
i'm having some odd problems with getimagesize.
sometimes it works, sometimes it doesn't.
this is the code i'm calling it with:
$p_size = getimagesize($photos[$start]);
where $photos[$start] has the value im000301.jpg. the php file and the
image file are located in the same directory.
this do
I have two questions:
1) I've seen a lot of benching by pc magazine and they're saying how
great cold fusion is and how bad php is. However, they don't use Zend
in any of their tests. Does anyone know of benchmarks against popular
systems that include php + Zend?
2) What is the performance gai
1. What file extension are you using for your test file?
2. Is this extension found around httpd.conf in a form similar to :
AddType application/x-httpd-php .php .php3 .html .phtml .parsemephp
When you stated "All works ok except ..." what works ok?
Regards,
Philip
On Mon, 7 May 2001, Alva
Link to another frameset page if you choose not to use javascript. But IMO
there's no such thing as a proper use of frames. Frames should never be used
for anything.
Data Driven Design
P.O. Box 1084
Holly Hill, Florida 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
-
Mr . John Vanderbeck
None of both codes works, all this test were do.
The Netscape ingnore all the tags with \n";
?>
Some systems are configured to not allow the shorthand "http://gamedesign.incagold.com/)
- GameDesign, the industry source for game design and development issues
When using session_start () over alot of pages, do i need to reregister the origional
session?
example:
page1:session_start();
session_register('data');
page2:session_start();
page3:session_start();
session_register('data');
new to sessions, (no really), so thanks for the
Whats is the difference between [] and {} ?
define(NL,"\n");
$str="How do you do?";
echo $str[3].NL;
echo $str{3}.NL;
$array = array("how","do","you","do?");
echo $array[2].NL;
echo $array{2}.NL;
this outputs
d
d
you
you
so there's no diff
Try,
\n";
?>
Some systems are configured to not allow the shorthand "http://gamedesign.incagold.com/)
- GameDesign, the industry source for game design and development issues
> -Original Message-
> From: Alvaro Collado [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 8:36 PM
> T
I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache.
When I run the test no problem, all is OK, but when I run a html index file in
Netscape ( LocalHost )
whith a single code like this
nothing was display, nothing.
When I change the code for an know error for example Netscape prin
You are going to need Javascript to do this.
--zak
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 5:19 PM
Subject: [PHP] Refreshing multiple frames?
> Hello,
>
> I am using php with frames for a menu
Hello,
I am using php with frames for a menu bar. In one frame I have a menu.
When the link is clicked on the menu I would like two frames to be updated.
Is there a way to do this?
Brandon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Hello, girls and boys,
my question sounds a bit strange, but it 's very important for me to simplify my
database queries.
So, is there any known and implementable algorithm that simplifies an arbitrary
logical expression such as:
(either in PHP-style and in mathematical forms separated by comma
I have a version of PEAR installed now with 4.0.3pl1. I need some
of the newer versions of the functions that have been added since then.
I need mysql's afftedRows for instance. I see in the 4.0.5 of PEAR that
was given with 4.0.5 that some function have "since 4.0.5" in PEAR.php
in par
Yes the database exists
Indeed there are no tables
There IS an option to run SQL Queries
BUT
There is no Browse button here.
(there is a browse button when one HAS a table - but this one is for
browsing the table - and in the insert file option there is a way to browse
to the file on the local di
http://www.phpwizard.net/projects/phpMyAdmin/
-Original Message-
From: John Vanderbeck [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 5:21 PM
To: Ryan W. Zajicek; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] PHPmyadmin
I'm curious,
Where can I get a copy of PHPmyadmin
I'm curious,
Where can I get a copy of PHPmyadmin?
Up till now, I have done all my database work strictly through php code and
sql statements, which as you can imagine is cumbersome. Sounds like this
might be easier? I'm starting up another project right now, and will have
to be creating a bunc
Theo,
Make sure the database exists, then click on the database name on the left
hand side of the screen. Now on the right hand side of the screen it should
say something like no tables exist and below that you'll see some form
fields. Look for the one that says "Run SQL query/queries on databa
Can anyone please tell me how to load a structure and datadumpfile (*.sql)
into an empty database by means of PHPMyadmin? (I know there is a separate
forum for this, but either this is a stupid question or there is no one
there who knows an answer, it stays silent).
I know how to do it through
Hello,
any of you has a tutorial/info on how to update a flash file (swf) with a php script ?
(data coming from a text file and a database)
py
http://www.php.net/manual/en/language.variables.variable.php
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 4:53 PM
To: PHP User Group
Subject: [PHP] Variable Variable
Hello,
I can't find Variable Variable in the php manual. If someone ha
Hello,
I can't find Variable Variable in the php manual. If someone has a link to
the section in the PHP manual about this please send me a link.
Thank you,
Brandon Orther
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
Thanks to Andrew and Cameron for assisting with my mosxs build of php
and apache.
But I am still stuck with the following:
dyld: /usr/sbin/httpd multiple definitions of symbol _DayNameLong
/usr/sbin/httpd definition of _DayNameLong
/System/Library/Apache/Modules/libphp4.so definition of _DayName
Use empty brackets in the name attribute, e.g., . PHP will then create an array indexed by numbers. PHP will
automatically assign indices in assignments if you omit the index:
";
echo $array[1]."";
?>
Kirk
> -Original Message-
> From: ..s.c.o.t.t.. [gts] [mailto:[EMAIL PROTECTED]]
> Su
Yeah, I hope it's a MacOS app also.
Michael
Meir kriheli wrote:
>On Tuesday 08 May 2001 00:39, elias wrote:
>
>Is it a windows app (I hope it isn't)?
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
this also works, since you mentioned that you're trying to
get away from evalling an "echo" statement.
$bob = "Roy";
$s = 'Hey there $bob';
$s = '$somevar = "'. $s .'";';
eval ($s);
print $somevar;
prints: "Hey there Roy";
personally, i think that using regexps to implement
an entire symbol pa
Hello,
I was wondering if I do a database query like "SELECT count(*) FROM
table_name AS song_count" if there is a way I can assign song_count to a
variable that is accessable anywhere on the page and not just in a "WHILE"
statement?
Thanks is advance
Ryan
mailto:[EMAIL PROTECTED]
--
PHP Gen
$bob = "Roy";
$s = 'Hey there $bob';
$s = 'print "'. $s .'";';
eval ($s);
prints: "Hey there Roy";
perhaps that's what you're looking for?
> -Original Message-
> From: John Vanderbeck [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 4:21 PM
> To: King, Justin; [EMAIL PROTECTED]
I'm trying to get around having to do that, I don't know regular
expressions so it makes it difficult :(
-Justin
-Original Message-
From: "John Vanderbeck" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 1:21 PM
To: King, Justin; [EMAIL PROTECTED]
Subject: RE: [PHP] Variable question
Ho
I understand that, but that's what I'm trying to get around doing.
-Justin
-Original Message-
From: CC Zona <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Variable question
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("King, Jus
are you thinking of what this snippet does:
$menu = 'menu2';
$i = 2;
echo ${$menu}[$i];
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: 2001. május 7. 22:16
Subject: [PHP] Variable Variable with array
> Hello,
>
> I am tr
i apologize in advance if the answer to my question is
glaringly obvious.
i've got a multiple select on a form and want to
find out *all* selected values.
the form looks like so:
First
Second
Third
when the form submits, $form['category'] is not
an array of selected values, but rather a sing
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("King, Justin") wrote:
> A simple eval($mysqldata) isn't going to do it though since the string
> is "Your username is $userdata["username"]"; it'll just spit a parse
> error. I've already tried that
The code being eval'd has to be a valid PH
How about manually parsing the string out to give you chunks, that can then
be eval'd easy.
- John Vanderbeck
- Admin, GameDesign (http://gamedesign.incagold.com/)
- GameDesign, the industry source for game design and development issues
> -Original Message-
> From: King, Justin [mailto:
Hi I am developing an application which will encrypt
(using mcrypt library) some data.
Everyting is ok except the fact that I can no longer
have links (GET) passing the values.
For ex.
I used to have
a href="script.php?plaintext=foobar"
now I need to pass that foobar value encrypted.
a
href="
A simple eval($mysqldata) isn't going to do it though since the string
is "Your username is $userdata["username"]"; it'll just spit a parse
error. I've already tried that
-Justin
-Original Message-
From: "Jack Dempsey" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 1:13 PM
To: King, Ju
Hello,
I am trying to use variable variable. with arrays. this may be hard to
understand so here is an example:
$menu1[0] = "1";
$menu1[1] = "2";
$menu1[2] = "3";
$menu2[0] = "1";
$menu2[1] = "2";
$menu2[2] = "3";
$menu3[0] = "1";
$menu3[1] = "2";
$menu3[2] = "3";
does anyone know t
ok, look into eval()
-Original Message-
From: King, Justin [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 4:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Variable question
Here let me flesh this out a bit more
Consider the query "SELECT datafield FROM myTable WHERE id=1";
This
Here let me flesh this out a bit more
Consider the query "SELECT datafield FROM myTable WHERE id=1";
This would return "My username is $userdata["username"]";
I want to then output what the database returns, and have php evaluate
my variables.
-Justin
--
PHP General Mailing List (http://www
I'm not sure what you mean...
[code]
$query = "SELECT username FROM Users WHERE userid=1";
$result = mysql_query($query, $link);
$user_data = mysql_fetch_assoc($result);
echo "my user name is ".$user_data["username"];
[/code]
Is that _not_ what you mean?
- John Vanderbeck
- Admin, GameDesign (h
Thanx, I think that will save some time.
> Use unpack():
>
> // Grab as many signed 32-bit integers as possible
> $array = unpack ('l*', $data);
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Egon Wrote:
> On Tue, May 08, 2001 at 01:24:02AM +1000, Luke Welling wrote:
>
> > I was wondering if anybody out there who has a copy of my book has found
any
> > errors.
> >
> > If you have noticed any errors in "PHP and MySQL Web Development" by
Luke
> > Welling and Laura Thomson, and have a sec
I think you're misunderstanding my question. I'm pulling
$user_data["username"] from a databse so the string my user name is
$user_data["username"]" is exactly as the database hands it to me. I
know how to simply concat information.
-Justin
-Original Message-
From: "Jack Dempsey" <[EMA
Try this one :
$user_data['username'] = 'Alphonse';
$str = "my user name is {$user_data['username']}";
Papp Gyozo
- [EMAIL PROTECTED]
- Original Message -
From: "King, Justin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 2001. május 7. 21:48
Subject: [PHP] Variable question
Ho
I want to create two bound comboboxes for selecting cell operators
within a range of available countries.
I want it behave like this:
Combo 1 will consist of list of available contries -> user selects a
country and the second combo will requery the database and show the list
od of all available oo
you can do it a couple ways...
echo "my user name is " . $user_data["username"];
or
echo "my username is ${user_data["username"]}";
-Original Message-
From: King, Justin [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 3:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Variable question
How can I evaluate a variable in a string? For example if I have a
string defined as "my user name is $user_data["username"]", how do I
echo that string and have php evaluate $user_data["username"].
Thanks in advance..
-Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
> Thanks for the additional code, now I see what you are after. Sorry, I don't
> know the answer, other than using curly braces will fix the problem for
> empty(). Also, a User Contributed Note at
> http://www.php.net/manual/en/functions.php#functions.user-defined has this
> to say:
>
>
> there
Use unpack():
// Grab as many signed 32-bit integers as possible
$array = unpack ('l*', $data);
--zak
- Original Message -
From: "Siegfried Kettlitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 12:36 PM
Subject: [PHP] Converting a binary integer to a number
Anyone familiar with the new OpenSSL support to work as far as opening and
communicating via a SSL socket?
I saw info regarding it at
http://www.php.net/manual/en/ref.openssl.php
however cannot get the functions to work. i'm just clueless about how to get
it functional.
-dave
--
PHP Genera
I have binary data (ie: 0x7b c8 15 0c ) and want to convert it into a 32Bit
integer (here: 123456789012).
Currently I use this (intel-little-endian):
$integer = hexdec( bin2hex( strrev( readpos( $fd,$position,4 ) ) ) );
readpos reads 4 bytes from a file
Is there a better, faster or easier way t
The link that goes to interbase's web site in freshmeat.com redirects to
http://www.borland.com/interbase/
which does not list the product as free or open source?
Is there another version?
oktay
-Original Message-
From: Luke Welling [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001
Arnold Gamboa wrote:
> I'm currently in serious research on what database to use for a B2B site
> which is expected to hold millions of records. I have in so far considered
> two open source databases - Interbase and PostgreSQL. With this in mind,
I'm
> sending this email to both the PostgreSQL an
Actually, I am afraid that they won't.
To achieve this, break the if/else block up so that both code blocks are
called.
--zak
- Original Message -
From: "Dmitri Zasypkin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 7:15 AM
Subject: Re: [PHP] HTTP_RAW_POST_DATA
On Monday 07 May 2001 19:37, tk wrote:
> when i echo $buffer to the screen it prints out hte content of hte file
> line by line
> if i echo $photos[i] to the screen it just prints out random numbers
> and not the content i'd expect
>
> (the code i'm using to do this is:
>
> $i = 0;
> while(!feof
We are using apache with php on winndows 2000. When we use the dynamic image
functions, we get the following message:
"imagepng: unable to open temporary file"
This problem goes away if we give our users the wright to use the directory
"c:\". But we would prefer not to give them access to this di
On Monday 07 May 2001 20:11, Johnson, Kirk wrote:
> problem for empty(). Also, a User Contributed Note at
> http://www.php.net/manual/en/functions.php#functions.user-defined has
> this to say:
>
>
> there are tons of good uses for this sort of functionality. But it
> should be noted that this wi
On Monday 07 May 2001 16:17, Natasha wrote:
> Lemme rephrase the question here :
>
> How can I use the socket functions to grab large
> amounts of data ? which may not be in the memory
> limit, and doing this without changing the php.ini
>
> how would you solve that ?
(1) Best way: Use wget (as o
Though I didn't know about 'variable functions' when answered, this is
exactly what I said.. Interesting :)
>>$foo is a string not a PHP function which makes 'empty' a string and not a
>>function/command.
>>
>>Am I missing something?
>>
>>oktay
-Original Message-
From: Philip Olson [mail
Solved.
empty, isset and unset are not functions, they are language contructs,
which results in the error. This makes sense, a workaround is creating
functions like isEmpty (or something similar) and using them. I'll be
submitting a future request soon ;)
Thanks everyone, especially OpenSrc i
On Monday 07 May 2001 02:41, Jay Lepore wrote:
> I have an ASCII fixed width text file I'm trying to convert to an array
> of fields. But I need to keep the spaces in tact so I know exactly
> where one field ends and another begins.
>
> Do you know of any way to modify the default behavior of fil
If it's anything like MySQL it should return unique result handlers
(identifiers).. You can reference them using the result handler if there's
such an option..
oktay
-Original Message-
From: James Crowley [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 1:44 PM
To: [EMAIL PROTECTED
On Monday 07 May 2001 20:04, elias wrote:
>
> location = "hello-world.htm";
>
>
> can be used even if header is already sent!
But only works if (a) the browser supports Javascript, (b) supports this
JS construct and (c) has Javascript enabled.
--
Christian Reiniger
LGDC Webmaster (http://sun
Thanks for the additional code, now I see what you are after. Sorry, I don't
know the answer, other than using curly braces will fix the problem for
empty(). Also, a User Contributed Note at
http://www.php.net/manual/en/functions.php#functions.user-defined has this
to say:
there are tons of good
try,
$photos[] = $buffer; // without $i in brackets, this means append to the end of
the array
in the loop, maybe this helps.
- Original Message -
From: "tk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 2001. május 7. 19:37
Subject: [PHP] help with fgets
> hi.
>
> i'm try
I wish it were that easy. Also, I'm looking for words on WHY this
behavior exists.
http://www.php.net/manual/en/functions.variable-functions.php
';
// works
$foo = 'is_string';
$var = 'abcdef';
if ($foo($var)) print '$var is a string';
// works
$foo = 'strlen';
$var =
Hi,
I have a web directory which allows sub-categories to an unlimited level.
This is done with a categories table, and assigning a parentid to each...
For example
ID ParentIDName
10 Products
21 Sub-Category of Products (Level 1)
31 Another
Hi,
I've written a recursive stored procedure in MS SQL, which returns a number
of result sets (ie 3 different recordsets rather than the usual 1). How can
I access the other result sets in php?
Regards,
- James
Editor, VB Web
==
Web - http://www.vbweb.co.uk
Email - [E
the owner of the files i believe will be hte user running the webserver since the
webdserver itself
is making the files.
apache by defauly runs as nobody:nobody
if you want to change this i think php has a chown funciton or you can run your
webserver as a
different user name/group
Ryan Hilton
hi.
i'm trying to read in a text file line by line into an array. i've got
the following code:
$i = 0;
while(!feof ($fp)){
$buffer = trim(fgets($fp, 4096));
$photos[i] = $buffer;
$i++;
}
fclose($fp);
when i echo $buffer to the screen it prints out hte content of hte file
line by line
On Fri, May 04, 2001 at 05:08:30PM -0700, Andras Kende wrote:
>
> Is this is a correct format ???
If you would tell us what you are trying to accomplish and why you think
it doesn't work, we might actually be able to help you.
--
Jason Stechschulte
[EMAIL PROTECTED]
--
Of course, I reserve the
On Fri, May 04, 2001 at 08:08:11PM -0400, John McConnell wrote:
> I have an array $veg that is set so $veg[0]="broccoi" & $veg[1]="tomatotes".
> I have also assigned values to the variables $broccoli=1 and $tomatoes=2.
> I want to print the values for those variables ($broccoli and $tomatoes) by
>
check http://www.php.net/manual/en/function.asort.php
there's a routine someone wrote in the contributed section...
-jack
-Original Message-
From: Rick Dietz [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sorting Multidimensional Arrays
I'm having trouble finding a function to sort a multidimensional array by
the value of a given key in the contained arrays. Perhaps i'm missing
something, perhaps PHP is missing something.
Take the array below. All I'm looking to do is reorder $my_array based on
the value of the "name" key for
Hi yall,
Before php4.03pl01 , PHP 3.07 (from the available rpm's at cobalt's
ftp site) was installed on our cobalt raq2.
Scripts that were using the crypt() function never gave me any
problems until I had php4.03pl01 installed by a cobalt distributor.
When I run this simple code :
## Code
Enc
Change the parens around $var to curly braces:
if ($foo{$var}) print 'worked.';
Kirk
> -Original Message-
> From: Philip Olson [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] variable functions: empty/isset/unset invalid?
>
> This does not work as expected (as I expect it at least) and giv
I would have to say you would need a nested for loop to count your array.
$j = 0 ;
$k = 0 ;
for ( ; $j != '' ) ; $j++ )
{
//top of the col.
echo "$main_menu[$j][$k]";
for ( $k = 1; $k != '' ; $k++ )
{
// then everything
I need to port a large amount of data from a filepro database, into a MySQL
database, and believe the built-in filepro() functions of PHP would make it
easy. I have scoured the net, and am unable to find the filepro add-on
module for PHP. Can anyone help? All of the PHP documentation says i
$foo is a string not a PHP function which makes 'empty' a string and not a
function/command.
Am I missing something?
oktay
-Original Message-
From: Philip Olson [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] variable functions: empty/i
This does not work as expected (as I expect it at least) and gives the
following error. This seems to result with use of empty(), isset(), and
unset(), perhaps others :
Call to undefined function: empty()
When using :
$foo = 'empty';
if ($foo($var)) print 'worked.';
Of course the follow
The next meeting of the Twin Cities PHP users group is coming:
Wednesday, May 9
7:00 PM
Downtown St. Paul
Check www.tcphp.org
for directions and minutes from previous meetings
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
On Tuesday 08 May 2001 00:39, elias wrote:
Is it a windows app (I hope it isn't)?
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
> Hello.
>
> Good work!
>
> Hope it beats DreamWeaver4+EditPlus2
>
> -elias.
>
> "José León Serna" <[EMAIL PROTECTED]> wrote in message
Hi,
Sorry for the crossposting but I don't know where to find a
solution for this. I need to be able to update dynamically entries in a DNS
(Bind 9). My DNS supports dynamic updates but how to do dynamic updates in
my DNS server from a PHP Script ??
Th
Is the Zend CVS down? The connection is really slow, I have been trying
to get the source for an hour. Is the problem on my end or Zend?
Thanks,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Hi,
I need generate graphics with php.
I know GD Library help me but I don´t know how do I install it.
Can somebpdy help me ?
Thanks in advance for your help,
Jose Luis.
I'm creating directories and files inside of a php program and they are
owned by nobody.
How can I assign an owner to them and who should the owner be?
Where is documentation for these types of questions?
Here is the code snipet:
create a directory - I would also like to create it with 775 pr
I have a pretty current version of PEAR installed on a server, but would
like to upgrade to the most recent CVS. I have pulled the CVS version.
How can I "install" this new version of PEAR into the place I have my
current version without recompiling PHP again. Are all the
configuration for insta
-Original Message-
> From: Jennifer [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] session_register() - Netscape workaround?
> I thought of a workaraound for Netscape and would like some
> feedback on how to do it and whether it is a good idea.
>
> I manually edited the session file an
1 - 100 of 162 matches
Mail list logo