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 ur
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
FUNZIONE is_uploaded_file (è un boolean 0 - vero, 1 - falso)-->
".is_uploaded_file ($userfile);
}
echo ""
.""
.""
."File: "
;
echo ""
.""
.""
."clear form"
;
?>
Hi all,
I've been trying for the last three hours to do something like this:
#!/usr/local/bin/php -q
And then calling it with something like:
cat foo.txt | ./echofile.php
The problem is, it will print the first line of foo.txt, and then exit.
No matter what I do, I can't get it
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 field\n"; }
echo "";
etc.
> -Original Mes
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 no
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...
A combination of no-cache headers usually does the trick, well in ColdFusion
anyway :o), yet this code still shows the wrong images after an upload until
a
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_widt
> -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 o
- 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-stor
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
--
PH
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 Ratsc
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 $key";
}
}
but, this doesn't:
function myFunction() {
foreach($_PO
- Original Message -
From: "Ron Dyck" <[EMAIL PROTECTED]>
> but, this doesn't:
>
> function myFunction() {
> foreach($_POST as $key=>$value) {
>
> if (empty($$key)) {
> print "empty value $key";
> }
>
> }
> }
Since php variable scope is local unless you define it gl
> > but, this doesn't:
> >
> > function myFunction() {
> > foreach($_POST as $key=>$value) {
> >
> > if (empty($$key)) {
> > print "empty value $key";
> > }
> >
> > }
> > }
>
> Since php variable scope is local unless you define it global, that won't
> work that way. You migh
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 here
}
//write /tr here
}
At 12:06 PM 2/18/2002 +, you wrote:
>Hi all,
>
>I w
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
calen
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: http://ww
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 PROTECTE
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
into
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 ti
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 PROTECTED]">new
What do I need to do to allow the readline functions to work?
The following short program fails when run from the command line:
Execution command and error message:
C:\>php -q myscript.php
Fatal error: Call to undefined function: readline() in
C:\myscript.php
on line 2
My system:
Windows
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:
>
> http://www.evolt.org/article/Breadc
Please show your exact code, because your code snippet looks right.
Then, again, maybe it's because it's an Aggie machine...
-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
Maybe
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: hug
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 su
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:
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, visi
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 s
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
0) {
//echo your row with 3 cells
$numevenrows = $
-Original Message-
From: Clark [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 17, 2002 11:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] storing arrays
I'm having trouble storing my array to a text file, utilizing serialize()
and unserialize(). Could you please show a very basic la
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 ($delivered
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 te
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 T
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::
Instrument
Beeps
Violin
and the php::
echo($inst);
if($inst == 2)
{
}
cheers
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PH
A little more code would be handy. We promise not to steal it for our own
use
When you print $inst, is the correct value displayed?
May we assume the block is in a form?
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:06 AM
To: [EMAIL
> -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 $key";
>
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 sele
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 objective
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
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 an
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 i
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, , all variables are set. However, when I try to retrieve a value
of a certain variable like this:
It returns NULL. Is there a missing configuration on apache or php?
Thanks,
-Teresa
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 Un
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.
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 "yourname.mysite.
here is a larger chunk of the code:
WEB BASED MUSIC COMPOSITION
Enjoy the Tune
Tone Row:
http://photos.msn.com/support/worldwide.aspx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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:
>
> $connection=mysql_connect("localhost","wagner","xxx") or die ("No
> connection!");
> $db=mysql_select_db("sbwresearch_com",$connectio
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: [PH
> 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:
$key: $value\n";
}
return $str;
}
echo "$HTTP_USER_AGENT\n";
$browser = get_browser();
echo list_array ((array) $browser);
?>
Isn't working as described in the example output provided on
the page. In fact, half the time, get_bro
> 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, phpinfo()?>, all variables are set. However, when I try to retr
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]
Sub
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?
");
print ("");
print ("Song");
print ("Artist");
while ($Row =mysql_fetch_array($Result)) {
print ("");
p
");
print ("");
print ("Song");
print ("Artist");
while ($Row =mysql_fetch_array($Result)) {
print ("");
$ctr = -$ctr;
if( $ctr == 1) {
print ("$Row[song]");
print ("$Row[artist1] $Row[artist]");
}
else {
print ("$Row[song]");
print ("$Row[artist1] $Row[artist]
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 databas
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] Reading
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 PR
> -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
> sugge
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 f
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 inf
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 kee
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 possibl
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
> 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 yo
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 pag
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 no
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 possib
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 (http://www.php.
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
d
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 PROTECT
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 simp
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 v
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 un
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 (http://www.
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: Polym
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
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. Wal
1 - 100 of 185 matches
Mail list logo