I used to use JEdit and Nedit -- both were satisfactory, but recently
I've become a nut for GVim (or Vim if you're only only on a tty). If
you'd like, I can send you my .vimrc file, which sets things up very
nicely the way I like them.
-bsh :-)
Josep Raurell wrote:
Quoting Torkil Johnsen
Hi,
I'd like to implement a system whereby people have a subdomain on my site like so:
yourname.mysite.com
I've been reading the apache docs that say you can do this via virtual hosts.
Can I do it so 'yourname' can be anything - where all requests are sent
to the same page where i can parse the
hi my name is Cristiano and I've a question:
why the function is_uploaded_file return 1?
my example file is index.php
thanks
?php
function carica() {
global $userfile;
echo brFUNZIONE is_uploaded_file (è un boolean 0 - vero, 1 - falso)--
.is_uploaded_file ($userfile);
}
echo
.form
Hi all,
I've been trying for the last three hours to do something like this:
#!/usr/local/bin/php -q
?php
$fp = fopen(php://stdin, r);
while (!feof($fp)) {
$line = fgets($fp, 4096);
print $line;
}
fclose($fp);
?
And then
Here's what I did.
$error = ;
if (error_in_field_1) $error .= A;
if (error_in_field_2) $error .= B;
if (error_in_field_3) $error .= C;
and so on. Then, when displaying the form...
if (strstr($error,A)) { echo You forgot to fill in this fieldbr\n; }
echo input type=\text\ name=\Whatever\
ARGH!!!
I'm seriously sick of this! I've spent days on end reading
documentation, trying settings, seeking help, and it still
won't bloody work! So I've taken the ultimate step, and
applied the trusty rm -rf command to everything that has
to do with sendmail!
In other words, sendmail is
Hi,
I am new to PHP and am having problems with no-cache headers, I have the
following code added as the first line of code in the page...
?
header(Expires: Mon, 01 Jan 1997 00:00:00 GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Pragma: no-cache);
?
A combination of
Hi there,
I would like to create a pdf file and place a heading in the center of the
page.
pdf_get_value should do the job, but it does not work out. Does anybody know
how to get
this thing working?
Thanx for help
ANdy
Code:
pdf_set_font($dokument, Times-Roman, 35, winansi);
$heading_width =
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2002 19:52
Not only can I hardly find a place with Tetley's on tap, I can hardly
find it in stores!
LOVE Tetley's.
Er -- should I mention here that I live and work within walking distance of the
- Original Message -
From: Phil Ewington [EMAIL PROTECTED]
I am new to PHP and am having problems with no-cache headers, I have the
following code added as the first line of code in the page...
?
header(Expires: Mon, 01 Jan 1997 00:00:00 GMT);
header(Cache-Control: no-store,
hi everybody!
is there a chance to convert a tiff group 4 image to an jpeg-images
via php? i haven't found anything.. so maybe you know something that way..
greets
Norbert Eder
Open.IT Informationsmanagement GmbH CoKG
Styria Medien AG
Schönaugasse
hi folks,
I was just wondering what your opinions were on using preg_match, preg_split
instead of ereg and explode?
I have to write a script to parse a lot of html and text files.. and I'm
looking to use the fastest possible functions to do this...
Many thanks for all your input!
dk
--
I think that mixing of html and php is too complex and leads to hard to
maintain scripts. I find it extremely difficult to understand a scripts
logic when it's spread out over hundreds of lines of php/html.
I use EasyTemplates that came in Web Applications Development with PHP 4.0
by Tobias
Is it possible to use variable variables from form values inside a function.
For example when submitting form values, this works fine:
foreach($_POST as $key=$value) {
if (empty($$key)) {
print empty value $keybr;
}
}
but, this doesn't:
function myFunction() {
- Original Message -
From: Ron Dyck [EMAIL PROTECTED]
but, this doesn't:
function myFunction() {
foreach($_POST as $key=$value) {
if (empty($$key)) {
print empty value $keybr;
}
}
}
Since php variable scope is local unless you define it global, that
but, this doesn't:
function myFunction() {
foreach($_POST as $key=$value) {
if (empty($$key)) {
print empty value $keybr;
}
}
}
Since php variable scope is local unless you define it global, that won't
work that way. You might try (just guessing
Hi, Look into mod_rewrite with Apache.
We use it to capture www.univo.biz/yourname and display a page about you.
However, my experience is very limited. I would imagine you could figure
it out though.
-Jason Garber
IonZOft.com
At 09:47 AM 2/18/2002 +, Adrian Murphy wrote:
Hi,
I'd like
Does anyone know if I can exec a perl script from a php script even if my isp doesn't
allow me to run perl scripts from the command line?
$nWidth = 3;
$oRow = TRUE;
while($oRow)
{
//Write tr here
for($i=0; $i$nWidth; $i++)
{
$oRow = mysql_fetch_object($dbResult);
//Write td/td here
}
//write /tr here
}
At 12:06 PM 2/18/2002 +, you wrote:
Hi all,
I
Thanks to everyone that helped me with my last problem I've run into
another problem and was wondering if someone here could offer any help or
suggestions. The project I'm working on is an event calender. It does
several things but the problem I've run into is when I click a date on the
Hi,
I currently have a directory of my web site access protected using .htaccess
and .htpasswd.
Is there any way of retrieving the user ID in PHP after the person
successfully logs in?
Thanks in advance
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Maybe you can round the problem with
if ($num 1)
echo Nothing today!;
else
echo Something to do today!;
if (!isset($num) || $num == 0)...
Niklas
-Original Message-
From: Frank Miller [mailto:[EMAIL PROTECTED]]
Sent: 18. helmikuuta 2002 16:05
To: [EMAIL PROTECTED]
hello
i am running into some trouble with a very basic problem.
i want to insert the current date/time into my db. i have
the field set up as a datetime field. when i submit info,
i just get a blank date, i mean it all zeros, like
-00-00 00.00:00:00. how do i insert the current datetime
Why do not you all just put all your PHP logic, db access, etc at the TOP
of the script. Once you have your results and variables created, then
start into html.
This method produces MUCH cleaner scripts, and there is a very minimal
amount of PHP interspersed within the HTML. Also, you have
Dear PHP coders,
i am using ob_start(ob_gzhandler) to compress all html output.
Is there any way to check if the output is really compressed? (and how
much)?
Thanks in advance,
Rein Velt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mysql?
INSERT INTO table VALUES (NOW());
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
Eoghan [EMAIL PROTECTED] wrote in message
[EMAIL
What do I need to do to allow the readline functions to work?
The following short program fails when run from the command line:
?php
$line = readline(Input data: );
print $line;
?
Execution command and error message:
C:\php -q myscript.php
br
bFatal error/b: Call to undefined function:
date() is your answer, use it in the piece of code generating the query.
$DateTime = date(Y-m-d H:i:s); // 2002-02-18 16:10:43
Niklas
-Original Message-
From: eoghan [mailto:[EMAIL PROTECTED]]
Sent: 18. helmikuuta 2002 16:14
To: [EMAIL PROTECTED]
Subject: [PHP] date problem
hello
Hi Laurie
Not really looked at the script there. But I wrote one a while back which is
similar.
http://oozoo.co.uk/nobba/php-here.php
Have look at that and see if you have the same problems
m:
I was trying out this breadcrumbs code found at evolt.org:
Please show your exact code, because your code snippet looks right.
Then, again, maybe it's because it's an Aggie machine...GRIN
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 8:11 AM
To: Php-General
Subject: RE: [PHP] Mysql_num_rows
php-general Digest 18 Feb 2002 14:28:21 - Issue 1179
Topics (messages 85141 through 85200):
Re: form opens a php window.
85141 by: Gary
Re: Running php from shell - passing parameters
85142 by: Greg Donald
phpmyadmin-mysql
85143 by: jtjohnston
85169 by:
Hi Frank,
I'm not exactly sure what's up with this, I've definitely used something
similar before without any problems. However, maybe you can work around it
by switching the logic...
if($num)
echo blah, blah, blah;
else
echo There are no events scheduled today!;
Wish I had a better
Do everything as you did, except for that if-statement.
$Query = SELECT * FROM table;
$Results = mysql_query($Query);
$num = mysql_num_rows($Results);
if ($num 1 || !isset($num))
echo Nothing here!;
else
echo Do something today!;
Niklas
-Original Message-
From: Rick
Hi there,
I would like to place a text in the middle of a PDF page. This requires to
know the length of the text in pixels prior creating the text on the page.
Is there a method to find the length of the text?
Thanx Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I''ve a php script that gets e-mail addresses from a MySQL db and then
using the mail() sends the same message to 100+ recipients.
I tested the script twice.
FIRST TEST.
(1) I commented out the mail() routine.
(2) I looped to get the e-mail addresses.
(3) I echoed the e-mail addresses on the
I had this same problem. It's very aggravating. Jason G's solution won't
work, because $oRow will always be true as long as there is more
results, NOT if there are less than 3 results left.
Why don't you true something like this
?php
$nWidth = 3;
$numrows = mysql_num_rows($result);
//Now take
?php
$myarray = array(123,abcdef,4.567,another string);
$ser = serialize($myarray);
$ff = fopen(C:\myfile,w);
fwrite($ff,$ser);
fclose($ff);
$fr = fopen(C:\myfile,r);
$outser = fgets($fr,1000);
fclose($fr);
$outarray = unserialize($outser);
print $outarray[0].\n;
print $outarray[1].\n;
print
To get username and password with php, use this below code:
$headers = getallheaders();
$auth=$headers['Authorization'];
$pos = strpos($auth, ' ');
$delivered_auth_type = strtolower(substr($auth, 0, $pos));
$authorization_params = substr($auth, $pos+1);
//* analyse parameters
if
Your browser probably timed out. Try using flush() after the echo in the
loop. You may also encounter PHP timeout - take a look at
set_time_limit() if you bump into that.
What I don't understand is why you received no mail - are you sure your
mail() syntax is correct? You should try a third
Anthony,
A common issue.
Pertinent info required:
1 Win or *nix?
2 able to send a single msg to a single email addr?
3 does loop get address and send msg to that address, 136 times; or does loop collect
136 addresses and then
after closing the loop a single msg is sent to 136 recipients in the
I am getting a variable from a web page ($inst) which is looked at by the
loop:
if ($inst == 2)
{
do stuff
}
the problem is that no matter what the value of $inst the code enters the
loop. I know it is some thing small and stupid, but any help would be
appreciated.
john
show html
show code
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] stupid problem
I am getting a variable from a web page ($inst) which is looked at by the
loop:
if ($inst == 2)
{
do stuff
}
At 05:02 18/02/2002, Peter J. Schoenster wrote:
Well, as you said, no point in arguing. Just that I think if someone
really wants to develop they should learn some better tools than a
GUI but it's a question of balance.
That's quite an arguable point. I don't code PHP but C++ and Java, and I
It means your query failed.
Change
$news = mysql_query('select * from ccl where '.$where.' order by AU desc');
TO:
$news = mysql_query('select * from ccl where '.$where.' order by AU desc')
or die(error: .mysql_error());
this will display the error
-Original Message-
From: jtjohnston
here is the html part of the code::
h3 align=center Instrument/h3
center
select name=inst
option selected value=1Beeps/option
option value=2Violin/option
/select
/center
and the php::
echo($inst);
if($inst == 2)
{
}
cheers
A little more code would be handy. We promise not to steal it for our own
use GRIN
When you print $inst, is the correct value displayed?
May we assume the SELECT block is in a form?
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:06 AM
-Original Message-
From: Ron Dyck [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2002 13:38
[... snip working example]
but, this doesn't:
function myFunction() {
foreach($_POST as $key=$value) {
if (empty($$key)) {
print empty value $keybr;
}
}
}
not trying to be sneaky or hide anything, the only thing is that it is a
long code and what ever is wrong with what I am using it will not let me
paste the code over!?!
when I echo $inst i get the expected result (i.e. 1 or 2) but even if the
result is 1 it goes into the loop...and yes the
Chris,
Stability improved *a lot* since the beta in December. Remember, it *was*
a beta release, and like most betas, stability was not perfect. It's quite
good now, and it also got a whole new (well, mostly new) code completion
engine which is really revolutionary for PHP.
I'm not
At 00:27 18/02/2002, robert janeczek wrote:
hi
i write in php about 1.5 years. from the beginning i use macromedia homesite
and i`m quite content of it. but...debugger, environment not optimized for
php developers etc. so i wanted to try zend studio, i downloaded it,
installed (w2k, i already had
On Saturday, February 16, 2002, at 03:10 PM, Nigel Gilbert wrote:
But very many commercial sites, including Apple and Amazon to name two,
do exactly this. When you re-enter the site they 'remember' who you
are using a cookie. In my case, I'm building a multi-player strategy
game and
Which is the diference between this functions:
pg_result, pg_fetch_row, and pg_fetch_array
@@()@@ wWWWw Andrea Hernandez Alfaro
(___) Dpto. Computo, Area Internet
/ YUniversidad Latina de Costa Rica
\ | \ |/
jgs|// \\|/// Your mind
If they'e like the mysql equivalents, then:
pg_result() fetches a single value
pg_fetch_row() fetches a row from the result set. Access each value with an
integer subscript.
pg_fetch_array() fetches a row from the result set. Access each value with
the name of the column/field
read the manual
Hello,
I'm running PHP version 4.1.1. When I invoke this function, ?php
phpinfo()?, all variables are set. However, when I try to retrieve a value
of a certain variable like this:
?php echo $HTTP_USER_AGENT; ?
It returns NULL. Is there a missing configuration on apache or
http://php.blue-box.net/manual/en/function.pg-result.php
http://php.blue-box.net/manual/en/function.pg-fetch-row.php
http://php.blue-box.net/manual/en/function.pg-fetch-array.php
This should tell you all you need to know.
Jim Lucas
- Original Message -
From: * nea * [EMAIL PROTECTED]
On Monday, February 18, 2002, at 12:31 AM, michael kimsal wrote:
Seems a couple other answers pointed you to Adobe, but if you need to
run this under Unix, you're kinda outta luck. Adobe don't make current
tools for Unix (as far as I can tell).
Well... don't forget that Mac OS X is
On Monday, February 18, 2002, at 07:01 AM, Ford, Mike [LSS] wrote:
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2002 19:52
Not only can I hardly find a place with Tetley's on tap, I can hardly
find it in stores!
LOVE Tetley's.
Er -- should
Dear Anthony,
[I've put this back on the list, because others know far more about *nix and email
than I do]
BTW: people will respond more readily if you include a reassurance that you are
emailing a 'membership' list or
its some sort of client opt-in situation - not spamming!
Thank you for
You can also do this via a PHP script, which is what I do. I have 5 URLs
all going to the same site (500 megs disk space). I parse the subdomain,
and re-driect to the appropriate sub-directory.
Actually, you don't even need to parse the URL for sub-domain. Just search
for the
here is a larger chunk of the code:
html
body background = backgrnd.gif text = ff8c00 link = ff vlink =
00
/body
/html
?
$f=fopen(/home/jgurley/www/test.txt,w);
?
html
center
h1WEB BASED MUSIC COMPOSITION/h1
hr
font size =6 Enjoy the Tune /font
hr
br
font size = 4Tone Row:/font
List Moderator,
Can you please unsubscribe s.osborne
Every post I send earns a Postmaster - Cannot Deliver return.
-Original Message-
From: Postmaster [mailto:Postmaster]
Sent: None
To: [EMAIL PROTECTED]
Subject: Error delivering message to:
2 - Yes. The script works if the # of e-mails is small.
More than likely, the script is timing out.
see http://www.php.net/set_time_limit
Here's a copy:
?php
$connection=mysql_connect(localhost,wagner,xxx) or die (No
connection!);
$db=mysql_select_db(sbwresearch_com,$connection) or die
First, where is $inst set prior to being echoed and tested?
second, please stop changing the subject. It makes following the thread
very difficult.
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 11:25 AM
To: [EMAIL PROTECTED]
Subject:
Anyone know of a good text editor for linux, WITH syntax highlighting for
php/html + other languages?
emacs. There is no alternative. :)
c
--
Chris Lott
http://www.chrislott.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The following example that is in the onsite documentation:
?
function list_array ($array) {
while (list ($key, $value) = each ($array)) {
$str .= b$key:/b $valuebr\n;
}
return $str;
}
echo $HTTP_USER_AGENThr\n;
$browser = get_browser();
echo list_array ((array) $browser);
?
You can also do this via a PHP script, which is what I do. I have 5 URLs
all going to the same site (500 megs disk space). I parse the subdomain,
and re-driect to the appropriate sub-directory.
So do you have this code running on every page or does it only redirect from
the index page or
Have a look at the function getenv()..
eg:
$ip = getenv (REMOTE_ADDR); // get the ip number of the user
HTH
Neil
Narvaez, Teresa wrote:
Hello,
I'm running PHP version 4.1.1. When I invoke this function, ?php
phpinfo()?, all variables are set. However, when I try to
Only re-directed from the index.html page.
My web-host service is set-up so that .HTML suffix files can execute PHP
script files without re-directing to them.
-Original Message-
From: Chris Lott [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 11:49 AM
To: [EMAIL PROTECTED]
Zeev,
Didn't experience any stability problems with the beta per-se, but using a Windows box
was an exercise in
Unix-ification. Has the released version for Win32 seen significant alterations to the
GUI?
=dn
- Original Message -
From: Zeev Suraski [EMAIL PROTECTED]
To: Chris Lott
Hi.
I've got a piece of code below that works great for me. Now I would like to
modify the rows with alternating colors in the displayed results. Any
suggestions on how to do this?
?php
$Host = ;
$User = ;
$Password = ;
$DBName = ;
$TableName = ;
$Link = mysql_connect($Host, $User,
?php
$Host = ;
$User = ;
$Password = ;
$DBName = ;
$TableName = ;
$Link = mysql_connect($Host, $User, $Password);
$Query = SELECT * FROM $TableName;
$Result = mysql_db_query($DBName, $Query, $Link);
$ctr = 1;
print (table border=1 width=\65%\ cellpadding=3 align=center);
print (tr);
print
I have a program that saves session information into the database. It saves the session
info much like the PHP4 session files. I need to allow my script to pull the session
info
out of the database then update one of the fields and then write back out the entire
session string back to the
You, of course, recognize this as serialized data. Therefore, simply use
unserialize(), change the data value, the serialize() it again.
-Original Message-
From: Devin Atencio [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 12:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Have you got the browscap.ini file installed properly ?
and
have you got a up to date version of browscap.ini ?
and
What is reported by IE visitng the script ?
Alastair
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2002 17:48
To: [EMAIL
-Original Message-
From: Scott Saraniero [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2002 18:02
To: [EMAIL PROTECTED]
I've got a piece of code below that works great for me. Now I
would like to
modify the rows with alternating colors in the displayed results. Any
suggestions
Hi,
I am trying to pull http_referer info on users accessing a certain page, but
am not having any luck. When I run phpinfo(), the referer information is
listed with all the other server variables, but when I pull a list of the
server variables as an array and print them, they all appear except
Try accessing the variable: $HTTP_REFERER
without specifying the array. it works for me
-Original Message-
From: tom hilton [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 12:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] http_referer
Hi,
I am trying to pull http_referer
hi.
wondering if anybody has any insight into this.
i have written some PHP scripts that work every single time under http.
under https (we have a valid security certificate) they work every
single time on IE on mac and on NN on mac and pc.
on IE on pc a this page cannot be displayed error
On Mon, 18 Feb 2002, Scott Saraniero wrote:
I've got a piece of code below that works great for me. Now I would like to
modify the rows with alternating colors in the displayed results. Any
suggestions on how to do this?
Try this:
$Count = 0;
while ($Row = mysql_fetch_array($Result) {
hi folks,
i've been tearing my hair out over a redirection problem ... but i can't
seem to find a satisfactory solution.
i'm sending some variables to a script on an external webpage, the webpage
sends me the data i need back.. except that this page goes through a
redirect page...
i want to
On Mon, 18 Feb 2002, wm wrote:
i have written some PHP scripts that work every single time under http.
under https (we have a valid security certificate) they work every
single time on IE on mac and on NN on mac and pc.
on IE on pc a this page cannot be displayed error (with possible
At 19:53 18/02/2002, DL Neil wrote:
Zeev,
Didn't experience any stability problems with the beta per-se, but using a
Windows box was an exercise in
Unix-ification. Has the released version for Win32 seen significant
alterations to the GUI?
I'm not sure which beta you've seen, but the GUI is
The problems you were having with the server components of the studio
sound
quite odd - can you elaborate on them? (probably off-list, it's best if
you could submit a bug report about it through zend.com/store/pickup.php,
evaluation support).
This is water under the bridge now, but you
Wm wrote:
hi.
wondering if anybody has any insight into this.
i have written some PHP scripts that work every single time under http.
under https (we have a valid security certificate) they work every
single time on IE on mac and on NN on mac and pc.
on IE on pc a this page cannot
Yes, me too (to verify) --
Check the archives for Friday, you'll see that this has been ongoing for
a few days.
Thank you
Erik
On Monday, February 18, 2002, at 12:24 PM, Rick Emery wrote:
List Moderator,
Can you please unsubscribe s.osborne
Every post I send earns a Postmaster -
FYI-
My two cents. I have been running the demo version since a day or two
after it was released. On Windows 2000 it has been solid as a rock. I
have not tried it on my XP laptop yet, but will soon.
Zend Studio is really helping to make PHP 'legitimate' in the
corporate world since it
In PHP4.1 or later, try:
echo $_SERVER['HTTP_REFERER'];
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Digitalkoala) wrote:
I was just wondering what your opinions were on using preg_match, preg_split
instead of ereg and explode?
I have to write a script to parse a lot of html and text files.. and I'm
looking to use the fastest possible
Hey List,
That is a great question. I too would like to know. Does anyone on this list know
anything about this?
Thanks,
Chad
- Original Message -
From: Sofhian Mahat
To: [EMAIL PROTECTED]
Sent: Saturday, February 16, 2002 9:33 PM
Subject: [PHP] php blocking functions
Hi all,
How can I get the preset values for Enum field inside the table. For
example, table A has a field called AccessRight, the enum fields are
Read,Add,Delete. How can I write the query to get these values out from
AccessRight field?
Thanks,
Wee
--
PHP General Mailing List
Sourceforge has a bit on this, too. Basically, they have a checkbox that
lets you drop out of SSL after you login, so your username and password
aren't sent over the wire in plaintext. However, after that, everything is
plaintext, no SSL at all. Useful if you want to keep your password safe
make sure you're doing it like this:
if ($inst == 1) {
// do this
}
else {
// do something else
}
instead of this:
if ($inst = 1) {
// do this
}
else {
// do this
}
Just a thought.
Tyler
- Original Message -
From: John Gurley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Could you please leave the subject alone when you're following up on a
thread. It's hard to follow what you're talking about when we can't see the
references to the other parts of the thread.
As for your problem, try removing the semi-colon after the if ($inst ==
'2') statement. It's a
I must not understand your question.
As you've asked it, the answer is:
SELECT AccessRight FROM tableA;
-Original Message-
From: Wee Chua [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 1:27 PM
To: PHP (E-mail)
Subject: [PHP] Php Enum Field
Hi all,
How can I get the preset
Sorry, my question was how can I retrieve the preset Enum values from
AccessRight field property? Thanks.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 2:51 PM
To: 'Wee Chua'; PHP (E-mail)
Subject: RE: [PHP] Php Enum Field
I must not
That's right, the difference between C++ pure virtual and virtual is
that a virtual function has an implementation but pure virtual only defines
an interface.
But can we get back to my original PHP question: Can I do something like the
following in php:
class Base {
function Foo() { echo
Sorry, my question was how can I retrieve the preset Enum values from
AccessRight field property? Thanks.
Untested, but I think I remember:
$result = mysql_query(SHOW COLUMNS FROM main LIKE `colname`);
c
--
Chris Lott
http://www.chrislott.org/
--
PHP General Mailing List
I must be missing something in your question, because I just tried your
script below and it worked as advertised.
Did you try the script and it failed?
-Original Message-
From: Richard Fox [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 2:13 PM
To: PHP
Subject: [PHP] Re:
On Monday, February 18, 2002, at 12:47 PM, Chris Boget wrote:
Isn't working as described in the example output provided on
the page. In fact, half the time, get_browser() is returning
nothing. And HTTP_USER_AGENT is only returning:
Mozilla/4.7 [en] (Win95; I)
for Netscape. Why isn't
Is there way to have a page automatically redirect the user to another
page, but with a timed delay?
I'm working on a purchasing system. After a successful purchase, a thank
you page is shown, and then I want to take the user to a download page a
few seconds afterward.
Thanks!
Steven J.
1 - 100 of 185 matches
Mail list logo