Yes, I have seen that, but the manual says I should get the only the
value, not also the OID. Can anyone please run this code and tell
me if they get the same result?
On Thu, 2 May 2002, Ray \BigDog\ Hunter wrote:
> Basically you are not going to get the value type of the snmp, ie OID,
> timetic
use mysql, forget about files.. they are too slow.
Rodrigo a écrit :
> Can I store Hashes in text files? If yes, how?
>
> Can I store a multi dimensional array in a text file? If not how should
> I do to store the data in one file and the "pointer" in another file?
>
> Thanx, Rodrigo
>
--
Ma
Hello Gerard,
The point is that we wanted adodb to work "out of the box" so that is
why srand( ) is called. You can do it yourself if you want to (and comment
out the srand) , or let adodb do it for you.
Regards John
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[
an idea would to be not to use flat files for it...
use a database, try mysql...
-Original Message-
From: Rodrigo [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2002 08:02
To: [EMAIL PROTECTED]
Subject: [PHP] Help with Bookmark
Hi guys I'm trying to make a online bookmark adress book, this bo
On Friday 03 May 2002 15:16, Rodrigo wrote:
> Can I store Hashes in text files? If yes, how?
>
> Can I store a multi dimensional array in a text file? If not how should
> I do to store the data in one file and the "pointer" in another file?
You can use serialize() on your array before you write
On Fri, 3 May 2002, Rodrigo wrote:
> Can I store Hashes in text files? If yes, how?
>
> Can I store a multi dimensional array in a text file? If not how should
> I do to store the data in one file and the "pointer" in another file?
http://php.net/serialize
That function will turn any PHP data
> Yes, but that's what the php-db list is for.
I am sorry... Gonna get this list.
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Hi,
Let Manuel be your friend!
http://www.phpclasses.org/
Quentin
"Udo Giacomozzi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Probably this question has been asked a couple of times but I could not
> find a complete answer to my question...
>
> I am new
I have made a phpscript to register all things on a computer, and then it
stores the information in a database, but php converts \\CADS1\HP2100PCL to
CADS1\\HP2100PCL how can I force PHP to not do that cause CADS1
\\HP2100PCL aint a right address for a printer, cause there are too many
On Friday 03 May 2002 17:07, Mikael Syska wrote:
> I have made a phpscript to register all things on a computer, and then it
> stores the information in a database, but php converts \\CADS1\HP2100PCL to
> CADS1\\HP2100PCL how can I force PHP to not do that cause CADS1
> \\HP2100PCL aint a
[EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95846
@news.php.net:
> stripslashes()
thanks, now it works
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 03 May 2002 17:29, Mikael Syska wrote:
> [EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95846
>
> @news.php.net:
> > stripslashes()
>
> thanks, now it works
Do read up on /why/ you need it.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Syst
[EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95848
@news.php.net:
>> @news.php.net:
>> > stripslashes()
>>
>> thanks, now it works
>
> Do read up on /why/ you need it.
>
ohhh, what do u mean???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Hello:
Do you know of any php class/code that acts as a browser? I want to
browse external pages from my website and place the external pages inside my
web as if were own content. I supose must use sockets to get the content and
parse the links inside the page to allow keep browsing inside. A
Hello,
José león serna wrote:
> Hello:
>
> Do you know of any php class/code that acts as a browser? I want to
> browse external pages from my website and place the external pages inside my
> web as if were own content. I supose must use sockets to get the content and
> parse the links insid
On Friday 03 May 2002 17:37, Mikael Syska wrote:
> [EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95848
>
> @news.php.net:
> >> @news.php.net:
> >> > stripslashes()
> >>
> >> thanks, now it works
> >
> > Do read up on /why/ you need it.
>
> ohhh, what do u mean???
OK, at the very least
Just out of interest, what's the standard/best/tried&tested method for
handling errors in relation to connecting to DB's? i.e. how to check that
the connection was a success, and if not then display why.
any pointers appreciated.
.b
> -Original Message-
> From: Mike Eheler [mailto:[EM
OK, heres all the code...
I have a BoundForm class, a BoundFormPage class, and a BoundTextField...
I create a BoundForm, add a BoundFormPage object to it, then add a
BoundTextField to the BoundFormPagethen I add the root node (the
BoundForm) to the SESSION...
The Form, and Page survive seri
Hello,
after copy do_download.php to php4.0.6/main what I have to do?
T.Y.
--
Best Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi .ben,
> Just out of interest, what's the standard/best/tried
> &tested method for handling errors in relation to
> connecting to DB's? i.e. how to check that the
> connection was a success, and if not then display why.
Something like...
$dbh = mysql_connect ("foo", "bar", "baz")
or die
Hello,
Miguel Loureiro wrote:
> Hello,
> after copy do_download.php to php4.0.6/main what I have to do?
> T.Y.
do_download.php is not the name of the download file. It should be
rfc1867.c.diff-4.0.6.gz . Here is the correct URL.
http://www.php.net/distributions/rfc1867.c.diff-4.0.6.gz
What y
No worries...I just realized that my object never repopulated the underlying
classes with previous object references...Thanks guys, but I see my problem
now...
Cheers.
Adam Langley.
"Thies C. Arntzen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Fri, M
John, presumably I can leave the error reporting on - but pipe it into a
file if i wanted, rather than displaying on screen, and then redirect the
user to another page?
Not asking for code sample here, just whether I can do it or not :)
/me goes to look up mysql_error()
Cheers,
.b
> -Ori
Hi Ben,
> John, presumably I can leave the error reporting on -
> but pipe it into a file if i wanted, rather than
> displaying on screen, and then redirect the user to
> another page?
Of course you can - I generally have my pages send me email when they throw
an error, but that's because I'm
Oh, i agree entirely.
Ok, i'll look into the logging/mailing solution - something i've been doing
in ASP for years but am new to in PHP.
Cheers,
.b
> -Original Message-
> From: Jon Haworth [mailto:[EMAIL PROTECTED]]
> Sent: 03 May 2002 11:57
> To: '[EMAIL PROTECTED]'; PHP
> Subject: R
Hi,
I somehow cannot unset Session variables. If I set for example
$_SESSION["error"]="formcheck" (the new style) and I want to unset it at the
end of the page (unset($_SESSION["error"])), it's there again on the next
page.
Is there a special way to unset the new Session variables?
I am using W
i have 10 vars, and I would like to have them posted, so the higest is
first and the second highest etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry that this is more of a mysql question, but since most php
programmers use it a lot, i though i might find the answer without
subscribing to mysql list, here goes:
When i do a query from a big table using indexes,it takes for example 5
seconds. Now if i, after
some time repeat the query, the
I'm brand new to PHP, but very familiar with how to do this in another
language.
I'm want to read a member's record and export the selected data to a
downloadable vCard.
The vCard is simply a text file with a .vcf extension. Once I've read all
the data for that user, I need to create the file li
Hi.
When I try to call a manual defined function in my function.inc file, I get
the error:
Fatal error: Call to a member function on a non-object in /www/xyz/.. on
line xy
I've defined the function in a seperate .inc file and included this is the
mainpage.
Do you have any solutions for this prob
Hi there.
I created an inc file with a single function and included it in my general script.
When I try to start the function out the the program, I receive the following error
message:
Fatal error: Call to a member function on a non-object in /www/xynz on line 19
Does someone know, what this
On Friday 03 May 2002 19:20, Miva Guy wrote:
> I'm brand new to PHP, but very familiar with how to do this in another
> language.
>
> I'm want to read a member's record and export the selected data to a
> downloadable vCard.
>
> The vCard is simply a text file with a .vcf extension. Once I've read
On Friday 03 May 2002 19:19, Mikael Syska wrote:
> i have 10 vars, and I would like to have them posted, so the higest is
> first and the second highest etc.
Put your variables into an array then sort it.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems I
Hi, i am new to the list and i am quite impressed with whats going on over
here. Anyway, just have a small question.
Have been coding php for a while now but i still havent found a stable
(easy and not time consuming) way of working in PHP, i mean, i use
homesite5 to code and w
and witch is spelt "Which"...
no harm intended.. just a tip for those English grammatically correct people
out there who "care" about spelling..
:::
: Julien Bonastre [The-Spectrum.org CEO]
: A.K.A. The_RadiX
: [EMAIL PROTECTED]
: ABN: 64 235 749 4
Vincent,
as register_globals is off, I use
echo $SERVER['PHP_SELF'];
which works fine...
though everything has to be uppercase, what surprised me!
Herb
- Original Message -
From: "Vincent Kruger" <[EMAIL PROTECTED]>
To: "Herbert Mraz" <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 1:
Hey all,
Whah, talk about getting a response, I posted the I-Worm/Klez question
hoping to get one or two replies of people who actually got infected..I
got more than 40 replies!
I got two more today, but one poor dude says he got around 149 and counting!
Anyway, thanks for your replies guy
[snip]
When i do a query from a big table using indexes,it takes for example 5
seconds. Now if i, after
some time repeat the query, the query takes about 0.5 secs.
So far i thought it was because of caching, but now i read mysql (v3.23)
doesnt
support query cache. So this really gets me wondering,
Just CPU time to make all of the new variables.
---John Holmes...
> -Original Message-
> From: John Hughes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 9:58 PM
> To: Philip Olson; [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: tutorial on global variables
>
> After reviewing
>
[snip]
Have been coding php for a while now but i still havent found a stable
(easy and not time consuming) way of working in PHP, i mean, i use
homesite5 to code and when i want to test the php i upload the scripts and
test them on the site. This process is a bit time consuming, so i inst
There's a whole section in the manual on it. There is a log_error() or
errorlog() function that'll write your errors to a file of your
choosing.
---John Holmes...
> -Original Message-
> From: .ben [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 4:04 AM
> To: PHP
> Subject: RE: [
> I somehow cannot unset Session variables. If I set for example
> $_SESSION["error"]="formcheck" (the new style) and I want to unset it
> at the end of the page (unset($_SESSION["error"])), it's there again on
> the next page.
>
> Is there a special way to unset the new Session variables?
Seen a
Thanks John.
> -Original Message-
> From: John Holmes [mailto:[EMAIL PROTECTED]]
> Sent: 03 May 2002 16:29
> To: [EMAIL PROTECTED]; 'PHP'
> Subject: RE: [PHP] Re: PHP with MySQL
>
>
> There's a whole section in the manual on it. There is a log_error() or
> errorlog() function that'll wr
You must have created that function inside some class definition. When you
do that, you must first instantiate that class to have access to its
functions (methods).
If you have:
class YourClass
{
function YourClass()
{
// constructor
}
function methodOne()
{
It's too easy to install a web server, PHP, and MySQL on your own
computer and test everything locally. Apache works on Windows and *nix,
or you can try OmniHTTPd or PWS/IIS. PHP is a simple download and follow
the install instructions, and MySQL has an installation program, it just
takes a minute
You're trying to call a function within an object. Something like
Something->getthis();
Which is not a "normal" PHP function. Show your code. You're probably
just calling it wrong.
---John Holmes...
> -Original Message-
> From: Richard Brenner [mailto:[EMAIL PROTECTED]]
> Sent: Friday,
Hello,
I'm using the regular user authentication method, that is, check the
specified login/pass agains't the entries in the DB, if it is valid, create
the user object and register it with the section.
How can we prevent any user from creating a simple PHP page that creates a
simmilar user objec
This isnt really the place for it but I thought some might be interested.
Has any thought been given to the following process scheduling idea?
As a process's cpu usage gets higher it priority gets slightly lower. So that if I
have a process to run but someone is hogging the CPU my task while
Hello all
I am using auto_prepend_file to include a load of files.
This is prepended to all PHP parsed files. The prepend files contain the
HTML for the framework of my site.
How I want to create an XML file for other web sites to use. I do this by
getting some data from a database and pack
>
> > -Original Message-
> > From: Pag [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 03, 2002 4:59 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] PHP editing environment
>
> > Anyone know how i can make my work more efficient? Like install
> > MySQL and
> > PHP and get everythin
I am using Apache php and MySQL at work and at home, at work I have a win98
box and I use Maguma Studio Light for php as an editor, at home I use VIM
for my editor, Maguma is really working for me. What I did was download php,
MySql, and Apache then find a good tutorial, of which there are many, o
"Miguel Cruz" <[EMAIL PROTECTED]> wrote:
[snip]
> I'm guessing he wants to do something like a stack trace to figure out how
> a function managed to get itself called with bad data.
>
> With utility functions that may get called hundreds of times in a single
> run, that would be some really handy
Yes, always remember that unset() deletes the REFERENCE to the variable, not
the variable itself, so in the next page, when you session_start() again,
the reference is recreated to the still existing value.
So, session_unregister is fundamental to unregister the reference from the
session.
To de
Two ways for you:
1. invest $200 (as you mentioned) in a little test server. Set there
Samba (samba.org) and simply save.file-refresh.browser
2. install FoxServ or PHPTriad or something else. Look at the
sourceforge.net. Or go manually installing the three - Apache, PHP,
mySQL on your Win. This
.htaccess
Not sure if ini_set() will work in your case. But try.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Stefen Lars [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 3:02 PM
To: [EMAIL PROTECTED
Here's one good tutorial:
http://www.phpbeginner.com/columns/morten/win32
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Steve Bradwell [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 3:00 PM
To: 'Pag
Hmm yes good question..
Security was (still is) a major for my organisation's site and I did
something a little unique and robust..
I love programming and I hate "stealing" (some call it borrowing) other
programmer's scripts/code from the web.. therefore I write it _all_ myself..
Trust me.. S
Hi,
> but the password is put through my own fairly unbreakable
> (yes.. I am serious) password key system..
> SO basically you'll end up with a nice 32 char string
> which is QUITE safe to pass around and the chance anyone's
> gonna decrypt it IMHO is about zilch,
> And all you have to do, is
another option is to use SSL for the login page/sensitive parts of the
site that deal with any transfer of 'sensitive' data?
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2002 15:08
To: 'The_RadiX'; [EMAIL PROTECTED]
Subject: RE: [PHP] Secure user authentica
nope
you are quite correct.. but I put my chances of someone "catching" packets
from my site and ripping em open.. in that low down probability of around 0
as well. :)
:::
: Julien Bonastre [The-Spectrum.org CEO]
: A.K.A. The_RadiX
: [EMAIL PROTECTED]
that is a good suggestion..
Using SSL to perform "sensitive" logins.. and then using some sort of
"hidden" or "encrypted" passwords in your sessions should provide a nice
level of security and comfort..
:::
: Julien Bonastre [The-Spectrum.org CEO]
: A.
Hi List,
Imagine a form where user can search for clients using a 'name' field.
When submitted, there's a result page, linking results to another page with
the client information.
I need to make the terms inputted at the form bold when they appear at the
client information page. Problem is
First of all, thank you for your devote answer.
The method I was thinking about before was to pass the md5 hash of the
password around, as the passwords are already md5'ed in the DB. Your method
seems more secure as you use a totally spiced-up and personalized encryption
engine.
But, the main qu
my current project for a multi-national org is providing a service to
them which requires that, I also go a stage further and allow only ip's
from their domain for this site ;) as well as SSL, and my own form of
encryption.
-Original Message-
From: The_RadiX [mailto:[EMAIL PROTECTED]]
Sen
Usually, I use the Apache directive to add the prepend option.
I already tried setting another prepend option in the apache directives, but
it seems one does not overwite the other. I tried prepending a blank file.
But that did not work. The other prepend file was prepended.
When you say use i
Julio,
Try this
$search = "Joe Doe";
$original = "Joe Cougar Doe";
$final = "Joe Cougar Doe";
$terms = explode(" ",$search);
for($i=0; $i".$terms[$i]."",
$original);
}
echo $original;
Should get you started.
Thank You
Brian Paulson
Sr. Web Developer
[EMAIL PROTECTED]
http://w
I am trying to compile and run the tutorial, from the php documentation,
on extending php.
I am currently working in SunOS v5.7 with gcc version 2.95 19990728. I
am running PHP 4.2.0 statically in Apache 1.3.24
I have copied the first_module.c file and I can compile it with the
following com
How does PHP 4 handle MySQL fields that are of type SET? Are the
strings, arrays, or something else?
Thanks,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
> The method I was thinking about before was to pass
> the md5 hash of the password around, as the passwords
> are already md5'ed in the DB. Your method seems more
> secure as you use a totally spiced-up and personalized
> encryption engine.
*boggle*
Why are you passing the password aro
On 3 May 2002 at 11:36, Julio Nobrega Trabalhando wrote:
> $searched = "Joe Doe";
> $original = "Joe Cougar Doe";
> $final = "Joe Cougar Doe";
>
> Any ideas about how can I achieve this result? I am currently using
> eregi_replace($searched, "$searched", $original), so that's why
> it only acce
Thanks Brian, it's working!
--
Julio Nobrega.
"Brian Paulson" <[EMAIL PROTECTED]> wrote in message
005101c1f2af$fa59eb00$89010a0a@bpaulson">news:005101c1f2af$fa59eb00$89010a0a@bpaulson...
> Julio,
>
> Try this
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Hi Jon,
I am considering doing that because any user can create a simple PHP script
with his/her object with the authenticated flag set to "authorized",
register that object with the session and then link to any of my pages,
which if they don't make any kind of password test, they will unsuspectl
I was having a tough time with a Mac file uploaded and squeezed into one
line. My friend Shawn helped me write the following which cleans it up.
Remove the echo statement to just change it and not see the change.
Also, avoid trying to fix the file, make a new one, if you can.
Hope this helps.
I've used the script phtaccess, which I think used the mentioned class.
Super easy to use.
Josh
>On Wed, 1 May 2002, Kelly Meeks wrote:
>
>>> Is is possible to use php to admin a password file used by a .htaccess file?
>>
>
> You should check the File_Passwd class from PEAR.
>
> htt
I got the file to upload to my folder. But when I go to download it to my PC
using FTP, it tells me NO SUCH FILE, but I can see it in the folder. The
folder has read, write, execute permissions. I included the script below.
I would appreciate any help.
Advertisement Application
\n");
pr
Running PHP3 on a Linux box and I've got trouble with date().
Here's the code:
$blah=2002-05-02;
$thedate = date("D, M d, Y", strtotime($blah));
$echo "$thedate";
Why is $thedate resolving to Wed, Dec 31, 1969.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Because your strtotime() call is returning 0. Replace the '-' with '/'
and I bet it would work.
-Rasmus
On Fri, 3 May 2002, ROBERT MCPEAK wrote:
> Running PHP3 on a Linux box and I've got trouble with date().
>
> Here's the code:
>
> $blah=2002-05-02;
> $thedate = date("D, M d, Y", strtotime($
On 3 May 2002 at 12:04, ROBERT MCPEAK wrote:
> $blah=2002-05-02;
> $thedate = date("D, M d, Y", strtotime($blah));
> $echo "$thedate";
$blah will = 1995. Try putting quotes around the date...
$blah = "2002-05-02";
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Hi guys, I need some help using the phpMyAdmin, I'm trying to create a
table with three fields, one for the indexing of the database, the
second for the logins and the third for the password.
I get the following doubts:
On the table of the phpMyAdmin there are the following fields:
A field f
Depending on your OS, there's a good possibility that the OS is caching
HD data. So instead of mysql reading directly from disk, it's getting
it from the memory cache. Depending on how heavily your server is used,
wait 10 or 15 mins (to let the memory cache clear out) and try it again.
Mike.
Hi Robert-
You may want to spend a little more time
with basic PHP tutorials, see:
http://www.php.net/links
To answer your question, the problem is
with variable/string use, not any PHP
functions. $blah in particular.
Use quotes around strings:
$blah = '2002-05-02';
Read about string
Does anybody know of a good way to get the previous result in a query
result?
The query looks like this: SELECT * FROM [users]. This will return a result
set of 30 to 40 users.
The reason I need to grab the previous is because I would like to be able to
"virtually" scroll through my data in the
"Pag" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Anyone know how i can make my work more efficient? Like install MySQL and
> PHP and get everything working normally when i preview the code in
internet
> explorer, that would be perfect, is it possible? How
You could also set these values in your php.ini:
magic_quotes_gpc = off
magic_quotes_runtime = off
If you do this, then remember when inserting the data into a mysql
database, it still needs to be escaped:
$sql = sprintf(
"insert into table (id, field) values ('', '%s')",
mysql_escap
Could be something like..
Field: keynum
Type: BIGINT
Length/Values: (blank)
Attributes: (blank)
Null: NOT NULL
Default: (blank)
Extra: AUTO_INCREMENT
Primary: CHECKED
Index: CHECKED
Unique: CHECKED
Field: username
Type: VARCHAR
Length/Values: 20
Attributes: (blank)
Null: NOT NULL
Default: (blank
Seems to me that space in the file copy is what's causing problems. Try
changing "ads/ $File_name" to "ads/${File_Name}".
Just a note that doing things that way can cause big problems,
especially on unix systems.. imagine if you went to your website and type:
http://site/index.php?File=%2Fetc%
This would only work if some other user is able to create files that the
web server thinks are part of your domain (since the session cookies are
domain-specific). Sounds to me like your problem here is severe server
misconfiguration. If your server environment is that insecure, then
worrying abou
Pedro Pontes wrote:
> Hi Jon,
>
> I am considering doing that because any user can create a simple PHP script
> with his/her object with the authenticated flag set to "authorized",
> register that object with the session and then link to any of my pages,
> which if they don't make any kind of pas
I've always found it's good to set numeric primary keys to UNSIGNED.
Gives you a larger range, and it's not very likely those numbers are
ever going to be negative.
Also, there is absolutely no need to check Index or Unique when you have
selected Primary, as Primary implies both (hence why in
You can navigate through records with Next and Previous buttons by using
LIMIT in your query statment.
<<
PREVIOUS
||
NEXT
>>
--
Hope this helps,
Kevin
- Original Message -
From:
Thanks for the tip Mike.
-Kevin
- Original Message -
From: "Mike Eheler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 10:49 AM
Subject: Re: [PHP] phpMyAdmin
> I've always found it's good to set numeric primary keys to UNSIGNED.
> Gives you a larger range, and i
Hi guys, I need to know the script to insert some fields into the
database.
Like this:
I need to get from a form the email, login, password and store it on the
database. I'd like to know how this script would be.
Code is apreciated. ;)
Thanks, Rodrigo
On Fri, 3 May 2002, TGL wrote:
> I got the file to upload to my folder. But when I go to download it to my PC
> using FTP, it tells me NO SUCH FILE, but I can see it in the folder. The
> folder has read, write, execute permissions. I included the script below.
>
> if(copy ($File, "ads/ $File_n
hello all,
i'm using FILE to read a page via HTTP and construct an array of
HTML lines. After that i modify the page and echo it out.
this all works great. The web server delivers pages depending on
browser types. Now i need to "pretend" a certain browser. Can this
be done ? What kind of HTTP-req
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jason Wong) wrote:
> On Friday 03 May 2002 07:03, Mrdini wrote:
>
> > > I think using the PDF functions would be a much better solution. You have
> > > full control over what gets printed where. Search on sourceforge for
> > > wrapper classes w
On Fri, 3 May 2002, Miva Guy wrote:
> I'm want to read a member's record and export the selected data to a
> downloadable vCard.
>
> The vCard is simply a text file with a .vcf extension. Once I've read all
> the data for that user, I need to create the file line by line with a \r\n
> at the end
On Fri, 3 May 2002, Herbert Mraz wrote:
> Vincent,
> as register_globals is off, I use
> echo $SERVER['PHP_SELF'];
> which works fine...
Does it work as well as echo $_SERVER['PHP_SELF'] (with that underscore)?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Once I had a bit of experience with variable
variables, I found them very useful.
But I did discover that you can't embed variable
variables (or values from arrays) in the SQL
statements I was sending to MySQL. I had to create a
temporary variable for use in my SQL statements. I'm
not sure why,
On Fri, 3 May 2002 [EMAIL PROTECTED] wrote:
> i'm using FILE to read a page via HTTP and construct an array of
> HTML lines. After that i modify the page and echo it out.
> this all works great. The web server delivers pages depending on
> browser types. Now i need to "pretend" a certain browser.
On Friday 03 May 2002 22:38, Brad Harriger wrote:
> How does PHP 4 handle MySQL fields that are of type SET? Are the
> strings, arrays, or something else?
RTFM, mysql treats them as strings. Before you ask, so does php.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source So
1 - 100 of 185 matches
Mail list logo