forgot to mention that ascii/binary is auto in cuteftp
- Original Message -
From: "chris herring" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 1:51 AM
Subject: Re: [PHP] Newbie Help!! Please Look!
> right up my alley... I use cuteftp, and it usually does all
right up my alley... I use cuteftp, and it usually does all this stuff for
you. all you have to do is right click on the file you want to edit, and it
opens it up in notepad, or the editor you choose. just make sure you save
the file before you close it. after that cuteftp will have a window that
Hi Dddogbruce,
@ 1:06:08 AM on 4/19/2001, Dddogbruce (@home.com) wrote:
> I'm having a problem with HTMLspecialchars and nl2br interfearing with
> each other. Obviously, I'm trying to stop malicous HTML/scripts from
> being entered into my guestbook, but I'm also trying to add spacing.
> nl2br
Ive come up with a curly problem and im wondering if anyone can shed some
lights on it. I looked under the SELECT part of Mysql but it didnt seem to
cover this and I didnt know how to phrase it.
What I have is a displayed list on the site. This data that makes up the
list comes from 2 tables.
In article <9bjvo1$irv$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Ben")
wrote:
> i'm trying to use sessions with my project, but it seems that registered
> variables in a session aren't global by default.
They should be. Can you show an example of the code that leads you to
believe they're not?
> I'm having a problem with HTMLspecialchars and nl2br interfearing with
> each other. Obviously, I'm trying to stop malicous HTML/scripts from
> being entered into my guestbook, but I'm also trying to add spacing.
> nl2br adds , but HTMLspecialchars tells it to not show that.
>
> Anyways, I'm s
On Thu, 19 Apr 2001 14:36, [EMAIL PROTECTED] wrote:
> I'm having a problem with HTMLspecialchars and nl2br interfearing with
> each other. Obviously, I'm trying to stop malicous HTML/scripts from
> being entered into my guestbook, but I'm also trying to add spacing.
> nl2br adds , but HTMLspecial
I'm having a problem with HTMLspecialchars and nl2br interfearing with
each other. Obviously, I'm trying to stop malicous HTML/scripts from
being entered into my guestbook, but I'm also trying to add spacing.
nl2br adds , but HTMLspecialchars tells it to not show that.
Anyways, I'm sure there is
andiWed Apr 18 21:16:28 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
- \r\n -> \n
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.79 php4/ext/odbc/php_odbc.c:1.80
--- php4/ext/odbc/php_odbc.c:1.79 Wed Apr 18 19:31
Why do you need that SEPARATE_ZVAL()? You seem to be using pv_row as read-only.
Also can you please try not to commit \r\n but only \n?
Thanks,
Andi
At 02:31 AM 4/19/2001 +, Dan Kalowsky wrote:
>kalowskyWed Apr 18 19:31:23 2001 EDT
>
> Modified files:
> /php4/ext/odbc
Hi Tony,
@ 11:24:30 PM on 4/18/2001, Tony Daniels wrote:
> I used notepad and it shows some weird symbols like darkened in
> squares. That is why I was wondering if there was a specific
> program. Is there any way to get rid of the squares?
Those are 'end of line characters' that your Operating
andiWed Apr 18 21:02:03 2001 EDT
Modified files:
/php4/ext/iconv iconv.c
Log:
- WS
Index: php4/ext/iconv/iconv.c
diff -u php4/ext/iconv/iconv.c:1.10 php4/ext/iconv/iconv.c:1.11
--- php4/ext/iconv/iconv.c:1.10 Thu Mar 29 01:37:09 2001
+++ php4/ext/ico
My mail client converted invalid char code for the original post to '?'.
Anyway, PHP works well with multi-byte chars and it works well with UTF-8/EUC at
least.
Not sure if PHP work well with KOI, though.
This works. $value = 'ABCDabcd日本語文字列12341234';
(This mail's char code must be UTF-8 if it'
Thanks once again!!
Jason Murray wrote:
> > $recipient = $email;
> > $headers = "From: Sirplus.tv <[EMAIL PROTECTED]>\n";
> > $headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
> >
> > This grabs the email address out of MySql and send them the email that
> > would be following. However, I want
As the title say, I would like to make a special thanks to one of our member Chris Fry
and to say this is great list!!
Thank for all help :-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
> $recipient = $email;
> $headers = "From: Sirplus.tv <[EMAIL PROTECTED]>\n";
> $headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
>
> This grabs the email address out of MySql and send them the email that
> would be following. However, I want a copy to go to me as well. What
> line of code to
Hello,
Thank you for the quick help on the apparant easy question. Here is
another easy one. Here is a portion of the code of one of my files.
$recipient = $email;
$headers = "From: Sirplus.tv <[EMAIL PROTECTED]>\n";
$headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
This grabs the email addr
hello guys...
On one of our websites, where we use sessions, a funny error have happened.
Warning: open(/tmp/sess_b5ad1e0878dee63fa8a780df44af3ea7, O_RDWR) failed:
File exists (17) in page.japaninc.inc on line 109
The funny side of it is that no one has ever seen it except our manager
(what
I don't know about "Cyrillic", but anyway,
Why not just assign UTF-8 char codes to variables?
(It would be nice if there is hex2bin(), though. You can use sprintf() assign
sort of binary value, but it would not work well to assign multi-byte char
values since it interpret as integer)
I think PHP
its not so much learning "telnet" as learning unix or linux...but as far as
editing text files, its easy...here're some basic commands to get you
started:
telnet www.yourhost.com
login:
password:
prompt$ pico yourfile.php
i find pico to be the quickest and easiest (and probably the "weakest")
Thanks Everyone!! That was quick and painless!
Tony Daniels wrote:
> Hello,
>
> I need to know if there is a program out there that I can use to edit
> the PHP files. I use CuteFTP to download the files from my server as I
> need to change some wording around from time to time. Does anyone kn
Ah, that helps tons.
Thank you!!
Jason Murray wrote:
> > I used notepad and it shows some weird symbols like darkened
> > in squares. That is why I was wondering if there was a specific
> > program. Is there any way to get rid of the squares?
>
> The squares are characters Notepad doesn't rec
> I used notepad and it shows some weird symbols like darkened
> in squares. That is why I was wondering if there was a specific
> program. Is there any way to get rid of the squares?
The squares are characters Notepad doesn't recognise.
If you see them in anything, not just PHP files, open
> -Original Message-
> From: Tony Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 8:18 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie Help!! Please Look!
>
>
> Hello,
>
> I need to know if there is a program out there that I can use to edit
> the PHP files.
Any
I wish I knew how to use Telnet. Maybe I'll search and learn.
Thank you for your help!
Jack Dempsey wrote:
> PHP files are text files, thus you can use any text editor to make your
> changes. On Windows, the simplest way would be to use notepad or wordpad to
> edit and save your changes. On ot
I used notepad and it shows some weird symbols like darkened in squares. That
is why I was wondering if there was a specific program. Is there any way to
get rid of the squares?
Thank for your help.
Jason Murray wrote:
> > I need to know if there is a program out there that I can use to edit
PHP files are text files, thus you can use any text editor to make your
changes. On Windows, the simplest way would be to use notepad or wordpad to
edit and save your changes. On other platforms like unix/linux you could use
pico, vi, or emacs to name a few.
If you have telnet access to the server
> I need to know if there is a program out there that I can use to edit
> the PHP files. I use CuteFTP to download the files from my server as I
> need to change some wording around from time to time. Does anyone know
> the correct procedure for downloading a php file with CuteFTP and then a
> p
Hello,
I need to know if there is a program out there that I can use to edit
the PHP files. I use CuteFTP to download the files from my server as I
need to change some wording around from time to time. Does anyone know
the correct procedure for downloading a php file with CuteFTP and then a
pro
I'm setting up an html "shell" for my webpage that I include with my php
code so I don't have to see html crap and whatnot.
I'm wondering what the best way is to insert the html "shell" into my code?
Should I just echo the file, should I include(), require(), include_once(),
or require_once()??
On
kalowskyWed Apr 18 19:31:23 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
corrects bug #7488, patch supplied by submitter ([EMAIL PROTECTED]).
quick local tests show it to work.
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odb
I've got PHP up and running partially under Apache 2.0 quite some time ago,
however despite the sweetness of Apache 2, this is probably not something
you want to do. Looking forward to PHP coming out more fully for Apache 2.0,
if there is anything we can do to help it along I'm all ears.
August
Chris
Apologise for sending you message directly, just one last thing about what I
have tried to to do, basically after I got list of string from
HTTP_POST_VAR, it will be like 12154, how do I make it to be 1,2,1,5,4 so
that I can put that in variable to put it in query?
I tried connect it like th
["Sean R. Bright" <[EMAIL PROTECTED]>]
> To continue a tangent... I don't like the idea of having the PEAR
> fetching/installation mechanism written in PHP (already some base code in
> PEAR to do this). It seems to me that it forces the user to download/build
> PHP and then download and rebuild P
Is there maybe somethign in php.ini or in the php compile that has to be
enabled, that I'm not find/cluing into?
On Wed, 18 Apr 2001, The Hermit Hacker wrote:
>
> I've read through:
>
> http://php.net/manual/pt_BR/features.file-upload.put-method.php
>
> I added:
>
> Script PUT /put.php
>
> to m
> At 1:16 AM + 4/19/01, Philip Olson wrote:
> >
> >
> >
>
> don't do that, at least I think it will recursively traverse the
> $GLOBALS arrary (since $GLOBALS itself is $GLOBAL) and you will never
> end.
This is true with print_r($GLOBALS) up until 4.0.4 where it was fixed,
whi
Hello,
Mark Bean wrote:
>
> I have a valid XML file that all I want to do is assign to variables the
> data in the elements and . I know nothing about XML and
> am not a programmer. Are there any good tutorials out there to do something
> as simple as what I'm looking for? Will expat do what
At 1:16 AM + 4/19/01, Philip Olson wrote:
>
>
>
don't do that, at least I think it will recursively traverse the
$GLOBALS arrary (since $GLOBALS itself is $GLOBAL) and you will never
end.
-aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
Have a look at the enormous $GLOBALS array, something like :
As previously mentioned, phpinfo() provides some pretty information and it
may be more what you want. Regarding $GLOBALS, (as quoted from the
manual) :
"The $GLOBALS array is an associative array with the name of the gl
To continue a tangent... I don't like the idea of having the PEAR
fetching/installation mechanism written in PHP (already some base code in
PEAR to do this). It seems to me that it forces the user to download/build
PHP and then download and rebuild PHP with any extensions that don't come in
the
> I know there is a way to do it in Perl, but is there anyway
> in PHP to display all of the global variables. Such as OS,
> browser, date/time, that sort of thing
>
> I know I could print each one seperately, but are they all
> stored in an array somewhere?
That should show you everything
I know there is a way to do it in Perl, but is there anyway in PHP to display all of
the global variables. Such as OS, browser, date/time, that sort of thing
I know I could print each one seperately, but are they all stored in an array
somewhere?
> Add two more sets of statements like those you have for the
> first query. That's it. There's nothing special to do.
MySQL also lets you stack insert statements:
$sql="INSERT INTO t1 ('A'); INSERT INTO t2 ('B'); INSERT INTO t3 ('C');"
This would work (but if you get an error, you'll have tr
"Fates" <[EMAIL PROTECTED]> wrote:
> I know how to add data to one table but how do I add data to three
> tables from one form?
>
> I want to do this with just one form and on one web page so it doesn't
> post to another page.
>
> How do I set up the insert statement?
>
>$query = "INSERT INTO
morgan,
this is starting to work! the 175x175 does resize it to a width of 175
while retaining the aspect ratio.
however when i tried using the less than sign, the windows nt
command prompt is treating it as saving the output to a file:
c:\progra~1\imagem~1\mogrify.exe -geometry 175x
I know how to add data to one table but how do I add data to three
tables from one form?
I want to do this with just one form and on one web page so it doesn't
post to another page.
How do I set up the insert statement?
$query = "INSERT INTO $table VALUES ('$menu_id', '$server',
'$menunumbe
Do a 'which libtool' and I'd hazard a guess that it'll find the one in
/usr/local/bin first. As it's using that libtool (dir: /usr/local/bin)
and your normal automake (dir: /usr/bin), the dirs don't match and
aclocal fails, as the warning mentions. Either switch your path around
to move
Hello!!
I am using php4-cvs on Linux Suse 6.4.
I issued the command ./buildconf and got a message:
pablo@pablito:~/php4 > ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.3.5
Hello generals,
I work since version 3.0.3 with PHP and had until today no
problems with it. In this week, three Interpreter have adjusted
her service to three same computers, with Win98 and OmniHTTPd,
one after the other.
I have tested all versions of PHP4,
no one works more, also the newest not
derick Wed Apr 18 15:15:39 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/mcryptmcrypt.c
Log:
- MFH (bug #8839 again)
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.45.2.2 php4/ext/mcrypt/mcrypt.c:1.45.2.3
--- php4/ext/mcrypt/
derick Wed Apr 18 15:14:07 2001 EDT
Modified files:
/php4/ext/mcryptmcrypt.c
Log:
- Fixed some more problems with keys being chopped off (fix for bug #8839)
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.48 php4/ext/mcrypt/mcrypt.c:1
Random Pronounceable Password Generator
This function generates random pronounceable passwords. (ie jachudru,
cupheki)
http://www.zend.com/codex.php?id=215&single=1
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 1:20 PM
To: PHP-Gene
Check out PHPost at webgadgets.com for some non-IMAP email tips.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Henrik Hansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Szeto" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
>
stripslashes() sees the magic_quotes_sybase setting and behaves
accordingly.
-Rasmus
On Wed, 18 Apr 2001, Johnson, Kirk wrote:
> With magic_quotes_sybase = on, a single quote in Get/Post/Cookie data gets
> escaped with another single quote. Is there a function analagous to
> stripslashes that w
I use a special function just for reforming input, but they use the
following bits with PCRE:
$replace_wordwhite = '/[^\w\s]/';
$replace_word = '/\W/';
$replace_num = '/\D/';
$replace_email = '/[^\w\-\.@]/';
Works pretty well and it's quite useful for killing useless input without
returning
according to the docs use
-geometry 175x175> picture.jpeg
man mogrify:
-geometry x{+-}{+-}{%}{!}{<}{>}
preferred width and height of the image. See X(1) for
details about the geometry specification.
By default, the width and height are maximum values. That
is,
I believe there is an article on phpbuilder.com on "pronouncable passwords",
which is probably what you'll want to actually do. Using real words would
just be way too resource intensive.
I'd give you the direct link to the article, but it seems my internet
connection only works for NNTP and ftp d
On Wed, Apr 18, 2001 at 02:37:00PM -, SED wrote:
> Hi,
>
> Recently I noticed e-mails on this list about Imlib2 and GD2 extensions
> which I was not aware of. So I started to wander if there are more
> extensions working with PHP which allows graphic process (the only one I
> knew was GD). I
I wrote an article for PHPBuilder.com - I would start there - I made it as easy as
possible.
--Joe
On Wed, Apr 18, 2001 at 04:58:28PM -0400, Mark Bean wrote:
> I have a valid XML file that all I want to do is assign to variables the
> data in the elements and . I know nothing about XML and
On your join instead of doing ID=ID do ID!=ID
--Joe
On Wed, Apr 18, 2001 at 09:55:05PM +0100, Simon Kimber wrote:
> Hi all,
>
> I have written a PHP/MySQL "top-sites" program. It has two tables,
> link_sites, which contains the details of all the sites signed up
> (ID,url,title,description) a
look into the substr() function in PHP
--Joe
On Tue, Apr 18, 2000 at 09:23:39PM +0200, Jorn van Eck wrote:
> Hi there,
>
> Does someone know how to display for example150 characters from a $ set by
> MySQL?
> --
> Jorn van Eck
> Student Information Engineering
> Almere
> Tel: +31 614430902
> E-
On Jue 19 Abr 2001 00:23, Andrew Braund wrote:
> LinuxSA http://www.linuxsa.org.au/ meeting a couple of days ago was
> on regex, some notes are at;
> http://www.fornax.net/regex2/
> or part 1 at;
> http://www.fornax.net/regex/
Isn't there a place with printable versions?
Saludos... :-)
--
El
LinuxSA http://www.linuxsa.org.au/ meeting a couple of days ago was
on regex, some notes are at;
http://www.fornax.net/regex2/
or part 1 at;
http://www.fornax.net/regex/
HTH
Andrew Braund
> -Original Message-
> From: Jeroen Geusebroek [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 19 Apri
At 02:20 PM 4/18/01 -0600, Ashley M. Kirchner wrote:
> Is there an easy way to generate generic passwords based on
>(combined) dictionary words? (ej: take two different words and put them
>together)
Would be huge, and vulnerable to dictionary attack (of course)
You'd have to have a file con
With magic_quotes_sybase = on, a single quote in Get/Post/Cookie data gets
escaped with another single quote. Is there a function analagous to
stripslashes that will strip off the escaping quote?
TIA
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
Some places to look :
General web hosts :
http://hosts.php.net/
Free web hosts:
http://www.faqts.com/knowledge-base/view.phtml/aid/4058/fid/27
Other discussions :
http://marc.theaimsgroup.com/?l=php-general&s=web+host
Regards,
Philip
On Wed, 18 Apr 2001, Corin Rathbone wrote:
> Hi
There are prolly a few ways to do it, using split() may be easiest.
Jason Caldwell wrote:
>
> how can i separate the digits in a Double number?
>
> for example:
>
> if i have 3.2 i would like to separate the digits into 3 and 2 and assign
> each to its own variable, like so
>
> numb1
Take a look here:
http://www.php.net/manual/en/ref.math.php
regards,
Augusto
On Wed, 18 Apr 2001, Jason Caldwell wrote:
> how can i separate the digits in a Double number?
>
> for example:
>
> if i have 3.2 i would like to separate the digits into 3 and 2 and assign
> each to its own variab
I have a valid XML file that all I want to do is assign to variables the
data in the elements and . I know nothing about XML and
am not a programmer. Are there any good tutorials out there to do something
as simple as what I'm looking for? Will expat do what I'm looking for? I
think that
>oops. The expression should read '/\[([^\]]+)\]/'
Thanks all, i used this code and it works:
preg_match("/\[(.+)\]/",$msg_array[$i],$segments);
$title = trim($segments[1]);
$description = ereg_replace("\[ $title \]", "", $msg_array[$i]);
Does anyone know a good regex
"Jason Caldwell" <[EMAIL PROTECTED]> wrote:
> how can i separate the digits in a Double number?
>
> for example:
>
> if i have 3.2 i would like to separate the digits into 3 and 2 and assign
> each to its own variable, like so
>
> numb1 = 3
> numb2 = 2
Use explode() to explode on the "." and save
You can use
$temp = ord("A");
And you will then see that it's 65 end not 99 :-)
- Frank
> Is there any function in PHP that I could use to know the number of the
> ASCII table of letter "A" for example?
>
>
> something like: $tmp=function_name("A");
>
> $tmp==99 ("A" is 99 in ASCII table).
Have a look at this:
http://www.jasons.org/modssl.php
You might find it usefull.
Saludos... :-)
On Mié 18 Abr 2001 23:18, Robert Mena wrote:
> Hi, I've donwloaded apache_1.3.12.src.rpm from
> RedHat's site and I am trying to build it.
>
> Unfortunately it keeps giving me error
>
> + adding sel
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote:
> Is there any function in PHP that I could use to know the number of the
> ASCII table of letter "A" for example?
It's chr() or ord(). I don't recall which (one is the inverse of the other)
so check the online manual.
--
Steve Werby
President
"Simon Kimber" <[EMAIL PROTECTED]> wrote:
> I have written a PHP/MySQL "top-sites" program. It has two tables,
> link_sites, which contains the details of all the sites signed up
> (ID,url,title,description) and link_stats in which a new record is
inserted
> every time a visitor links in from one
how can i separate the digits in a Double number?
for example:
if i have 3.2 i would like to separate the digits into 3 and 2 and assign
each to its own variable, like so
numb1 = 3
numb2 = 2
thanks.
jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
Is there any function in PHP that I could use to know the number of the
ASCII table of letter "A" for example?
something like: $tmp=function_name("A");
$tmp==99 ("A" is 99 in ASCII table).
regards,
Augusto
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
I want to try inserting a UTF-8 string into a varchar field. I'd like to
try something like cyrillic, which I know uses multiple byte characters
mixed with single byte characters. Anyone know how to create binary
values as an argument to insert into a field?
--
PHP General Mailing List (http://w
I have a bunch of pictures all in ranging filesizes and dimensions. I want
to resize the ones that over 175 pixels wide to a 175 pixel wide picture
however i want the height to scale down (ie. i dont want a really thin
picture, i just want it to be what it would be if it were resized). i have
this
Hi all,
I am a student and with little money, I am trying to find a low-cost or
preferably free web host with PHP and if possible MySQL. Any suggestions
would be most helpful.
Regards,
Corin Rathbone
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
Is there an easy way to generate generic passwords based on
(combined) dictionary words? (ej: take two different words and put them
together)
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|__
Hi, I've donwloaded apache_1.3.12.src.rpm from
RedHat's site and I am trying to build it.
Unfortunately it keeps giving me error
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm
Hi all,
I have written a PHP/MySQL "top-sites" program. It has two tables,
link_sites, which contains the details of all the sites signed up
(ID,url,title,description) and link_stats in which a new record is inserted
every time a visitor links in from one of those sites
(ID,siteID,clientIP,dates
Im working on a site utilizing apaches/mysqp and of course php. Im
working through the basic framwork creating forms to collect user input
and do various searches etc. I was curious as to what most people find
the best way keep thier mysql queries from getting messed up by user
entered dat
Hi,
to get the first 150 chars of a mysql filed do this:
SELECT LEFT(YourField, '150') FROM YourTable WHERE YourCondition=true;
This does it in MySQL and for PHP follow the mentioned substr-method.
cheers
Johannes
""Jorn van Eck"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
9bkpd8$r77$[EMAIL PRO
"Szeto" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> * i wondering where to get ifo on developing web e-mail
> * what standard should i use to deveping to software
look at the imap functions in the php manual they are what you need to
develop what you need.
--
Henrik Hansen
--
PHP General M
What exactly do you need?
If you have a variable that contains a string, you can do
echo substr($var,0,150)
to print the first 150 characters...
or, are you trying to limit the amount in the mysql query? I believe you
have to get the whole result then limit it in php, but others might know
better
Hi there,
Does someone know how to display for example150 characters from a $ set by
MySQL?
--
Jorn van Eck
Student Information Engineering
Almere
Tel: +31 614430902
E-mail: [EMAIL PROTECTED]
Website: http://www.iie.nl/~eck13
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
The table in the SQL have primary key already and I get this error message.
So, I'll try your recommendation to disable part of the PHP script and
recompile. Sometime it is better to move on than to struggle over it
because no one seem to have the answer to the problem.
Thanks,
Scott
""Andrew
php-general Digest 18 Apr 2001 19:05:01 - Issue 635
Topics (messages 49133 through 49246):
mySQL - select column
49133 by: Julian Wood
Re: Is it possible to parse a variable by character?
49134 by: CC Zona
49143 by: Sean Coyle
49144 by: Sean Coyle
49
Scott,
This error indicates that there is no index/primary key on a table that the
result set is coming from - and PHP has told the driver read the result set
into a into a cursor (which requires a primary key).
Adding a primary key to the table will fix this, or passing a different
cursor type
Has anyone here ever had to work with a
Reynolds and Reynolds system ? they make
auto dealer management software. It is a
closed system, but apparently sites like
autotrader.com access them from various
dealers to extract inventory data...autotrader
appears to use jsp, so I assume that I can
use p
can someone give a quick hint as to why this does not work:
$array = split ("\n", $contents);
$stuff = array_count_values ($array);
echo $stuff[nuts];
or even:
$array = array (split ("\n", $contents));
$stuff = array_count_values ($array);
echo $stuff[nuts];
thnx...
matthew
--
PHP
How about actually using distinct?
SELECT DISTINCT(email_addr) FROM myTable WHERE x = 1
--Toby
- Original Message -
From: "Jason Caldwell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 1:47 AM
Subject: [PHP] mySQL Question
> if i perform a SELECT que
- Original Message -
From: "phpman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:55 PM
Subject: [PHP] SSL SSL SSL SSL -- READ THIS!!
> How do I establish an SSL socket connection with PHP?
> I have PHP compiled in an Apache Mod_SSL server. Do I need to
I am using the following function to send out emails via PHP:
function SendEMail( $to, $subject, $body ) {
$additionalHeaders = "MIME-Version: 1.0\n";
$additionalHeaders .= "Content-type: text/html;
charset=\"iso-8859-1\"\n";
$additionalHeaders .= "Content-Transfe
I've read through:
http://php.net/manual/pt_BR/features.file-upload.put-method.php
I added:
Script PUT /put.php
to my apache config file ... everything as far as Netscape Composer is
concerned looks right, but it isn't working.
I changed my put.php script so that it output all ENV variables
I got reply from core developer implementing new syntax. The implementation of
syntax $var{index} is not finished yet. So PHP programmers are NOT supposed to
use it yet. If you are curious, take a look at php-lang list archive.
Again
$var{index} is NOT supposed to used. (yet)
--
Yasuo Ohgaki
"
Hi:
You can use JavaScript for a popup window. Look up for window.open()
function. You can pass the result to that output from PHP script.
Seung-woo Nam
Mohamedou wrote:
>
> Hello all,
>
> I have integrated a simple text based poll script in my homepage.
> But I want get the survey results in
Hello all,
I have integrated a simple text based poll script in my homepage.
But I want get the survey results in a popup window, if somebody votes.
How can I make that?
Moh
_
Do You Yahoo!?
Get your free @yahoo.com address at http://
1 - 100 of 205 matches
Mail list logo