When you are doing you select try something more along the lines of:
select date_format(date, '%e,%c,%Y') from tblmycoolstuff;
I got most of this stuff from
http://www.mysql.com/doc/D/a/Date_and_time_functions.html You need to look
at the table on that page to get the date to print out exactly a
Hi Guys
I'm having a bit of a problem with form submission. I'm creating an opinion
poll, and the user's vote is submitted as a form back to the originating
page. I'm using !isset to see if the form has been submitted and if so,
updating the database and showing the current results
My problem is
Dear friends,
I am accessing MySQL database using apache and php.
I have to display a double integer field without trailing zeros.
The number of digits after the decimal point varies.
I have tried searching the archive and did not get any previous questions.
Kindly help me in this regard.
Than
> My question is, when the user first visit, a session created, and I
register
> the variable. On the second, or following hits, to use the session
variable,
> I also need "session_start", but should I still need to call
> session_register() for each hit?
No, once you register it, it's there unle
> function add_toCart($id,$array) {
> session_register("OBJECT");
> $c = new Configurator;
> $c->readConfig($id);
> $OBJECT = serialize($c);
> header("Location: Cart.php");
> echo "Redirecting..."
> }
>
> Unfortunately, the session file (in /tmp) is always empty after this
> function executes. I'
> $size_x=1000;
> $size_y=1000;
> $ECODE=12;
>
> file://$filename='list.txt';
> echo "";
> $id=1;
> $i=1;
> echo "?? ?? $filename ?? ? ETNA";
> if ($fp=fopen($filename, "r"))
> {
> while (!feof($fp))
> {
> $trimmed_line=trim($line=fgets($fp, 80));
> if (strstr($trimmed_line, "
> I need to simulate this effect: $array[$i] or \$something . $i, and have
it
> return $checkbox1 $checkbox2 etc. on up in a while loop.
> Just doing it doesn't seem to work, but does anyone know of any work
> arounds? Or just the keyword I should be looking for to search the
manual?
You could
> Can anyone tell me how to display both jpg and gif images. Basically,
> what i've got is:
>
>
> Now, I know I probably need slashes in there and I played around with it
> but no luck. Where do I put them?
TIP: Use "View Source" in your browser to see what the IMG tag looks like.
I suspect y
>I have a BLOB field in a MySQL database that I want
>to parse into my page using PHP.
>For instance, in this field might be the following:
>
>
>
>So when I access this field in PHP I want it to display "test".
>
>Is this possible?
Yeah. That's called "eval" (short for 'evaluate')
Basically you
> function downloadfile($url, $imageDir)
> {
> if(!$file = fopen($url , "r"))
>{
> echo ("couldn't open $url\n");
>}
> else
>{
> #fpassthru($file);
> if($file2 = fopen("/www/sinead/images/Full/Sinead200.jpg", "w"))
> {
> $content=fread($file, filesize("$file
> ibase_num_fields() isn't functional in php 4 - anyone have any ideas to
> work around this ?
>
> I'm checking the number of results for a query to check if a
> user/password is correct -I suppose I could just do a fetch_row() on the
> result and test if thats empty or not - but I'll only do that
> My problem is that a user, having voted once, can keel clicking refresh in
> their browser and the form data keeps getting sent, incrementing the poll
> results each time
> Is there a way to kill form data once it;s been posted, or is there a
better
> way of doing what I am trying to accomplish
I know this must have been asked before so I apologize in advance...
Is there a way to flush the $PHP_AUTH_USER / $PHP_AUTH_PW vars? I have a
routine where someone can logon to my admin section as a guest and enter a
new username/password. Is it possible for him to then logout (flushing the
guest
sas Sat Jan 20 02:10:50 2001 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Revert last completely broken patch.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.83 php4/ext/pgsql/pgsql.c:1.84
--- php4/ext/pgsql/pgsql.c:1.83 Thu Jan 1
> +PHP_FUNCTION(pg_lolseek) {
> + val **pgsql_lofp, **seek_offset, **seek_whence;
^^^
> + gLofp *pgsql;
^
> + long int offset;
..
> + ffset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd);
^
> + ETURN_LONG (offset);
^
Derick, this patch is completely brok
On Sat, 20 Jan 2001, Sascha Schumann wrote:
> > +PHP_FUNCTION(pg_lolseek) {
> > + val **pgsql_lofp, **seek_offset, **seek_whence;
> ^^^
> > + gLofp *pgsql;
> ^
> > + long int offset;
> ..
> > + ffset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd);
> ^
> > + ETURN_LONG (of
> Strange, I compiled it at home, and it gave me no troubles, must be a
> wrong regexp to replace spaces by tabs then. I'll look into it later.
Another issue is the lo_lseek() call. The third and fourth
parameters are prototyped as int, but you are passing in
char *.
- Sascha
In article <94adfp$5le$[EMAIL PROTECTED]>,
Stephan Ahonen <[EMAIL PROTECTED]> wrote:
> I'd make it an array:
> $filter = array(moron, idiot, pratt);
> foreach($filter as $badword) {
> if (strstr($name, $badword)) {
> do this if it contains one of the bad words
> }
> else {
> do this if
In article <[EMAIL PROTECTED]>,
Brandon Orther <[EMAIL PROTECTED]> wrote:
> Check here, I have never messed with it just ran into it the other day.
> I hope it helps.
> http://www.php.net/manual/en/ref.pspell.php
Sort of. Thanks go to Kristi as well for spotting this, PHP has so many
bult i
Richard,
THANK YOU!!!
I agree -- this method provides many security vulnerabilities and I appreciate the
warning. The database is definitely secure -- from web-surfers and others. Also, I
intend to parse the information going into the database myself -- using a simple parse
engine I will cr
Hey!
Is it possible to get the names of the variables allocated in the memory?
thank you,
Rom
WAHO! It works! Thanks Alex!!
Fraser
On Fri, 19 Jan 2001, Alex Akilov wrote:
> Fraser,
>
> Yes, you must set your LD_LIBRARY_PATH prior to running ldd. In a terminal,
> export
>
>LD_LIBRARY_PATH=/home/local/java/jdk1.2.2/jre/lib/i386:/home/local/java/jdk1.2.2/jre/lib/i386/class
I've a mySQL db with user information (e.g.: name, address, phone, etc.).
I'd like to pre-load an HTML form with the existing user information in
order to enable the users to update some of the information.
Are there any PHP sample scripts that I may look at to do this?
Thank you!
--
PHP Ge
Do you mean, like if they are editting their profile, their existing one
shows up in the text box?
Here is a chunk of code I wrote to do that this morning:
---
"); ?>
PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTE
When uploading a file, the built in functions let you get the filename,
size, type. If the file is an image, is it possible to also get the width
and height of the image?
Right now we are giving input boxes for the user to enter the correct
values, but I'd rather that my code do it for them. Th
Linux , Apache, MySQL
I have a problem in my database(MySQL), this is the senario:
I made an update statement on my table by wrong, then I restor my backup
copy by copying the backup files on the exist ones without stopping the
MySQL.
Now I have problems in searching data:
for example when I made
There you go:
WHERE ;
// execute query
$query_result = mysql_query ($query,$dbconnection) or die ("Couldn't execute
query in Database.");
// fetching values with while
while ($row = mysql_fetch_array ($query_result)) {
$VAR1= $row["COLUMN1"];
$VAR2 = $row["COLUMN2"];
}
ec
$num=count($bannedwords);
for($i=0;$i<$num-1;$i++)
{
$string =
eregi_replace("\b$bannedwords[$i]\b","[censored]",$string);
}
For whatever reason, no word in $bannedwords will match in the string. I've
tested it with simple expressions like
Hi.
I'm tearing my hair out trying to get UltraDev to talk to MySQL and I know there are
some Dreamweaver and MySQL users here.
I think I need some help installing a JDBC driver for this product.
Any help or sympathy is greatly appreciated.
Thanks,
Murph
Hi,
I`m trying to use the code below for my profanity checker but it keeps
returning a parse error on the second line 'while ((list etc'
Can anyone see anything wrong??
TIA
Ade
<< $done=false;
while ((list($key, $val)=each($words)) and $done===false)
{
$done=strpos(strtolower($name), $va
Hi Debreceni,
I need to use a template parser, and XTemplate looks like it will do what I
need, but I'm not sure how. I can use mysql_fetch_array to produce an array
of field_name:value. If I use {field} names in the html template, can I use
XTemplate to take the array and parse?
This is what
Plain Text Dictionary:
http://www.mso.anu.edu.au/~ralph/OPTED/
Word list:
http://www.antionline.com/archives/text/word-lists/
I just found these by searching through Google you may find better.
Kristi
- Original Message -
From: "Nik Gare" <[EMAIL PROTECTED]>
To: "PHP User Group
Hi Im trying to isntall PHP4 on my Raq 2 but Im not having much luck. I was
wondering if someone here could assist me.
I uploaded apache and configured it and it worked fine. Its running in
/usr/local/apache-x.x.x
I uploaded the php zipped binary by ftp to /home/sites/home
then
mv php-4.0.4.tar.
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Team JUMP) wrote:
>$num=count($bannedwords);
> for($i=0;$i<$num-1;$i++)
> {
> $string =
> eregi_replace("\b$bannedwords[$i]\b","[censored]",$string);
> }
>
>
> For whatever reason, no wor
require "xtpl.p"; //include XTemplate engine
//don't need this - wrong.
> require "html.xtpl"; //html layout file with field names e.g. {firstfield}
You need to create a new instance of the Xtemplate class so:
//assign the new instance to a variable name you'll use - I called it
$template
//and
php-general Digest 20 Jan 2001 17:24:25 - Issue 466
Topics (messages 35781 through 35814):
Re: Classes question.
35781 by: Matt McClanahan
IMAP_HEADER
35782 by: Jochen Kächelin
IMAP_HEADER NEW!!
35783 by: Jochen Kächelin
Re: Date/Time Formatting
35784 by:
Can you install flex and bison?
On Sat, 20 Jan 2001, Trunkz Santai wrote:
> Hi Im trying to isntall PHP4 on my Raq 2 but Im not having much luck. I was
> wondering if someone here could assist me.
>
> I uploaded apache and configured it and it worked fine. Its running in
> /usr/local/apache-x.x.
Thanks for your help. Unfortunately, [:space:]$bannedwords[$i][:space:]
would not work, since I need to also check for the first and last word. In
a last-case scenario I could write special code for the first and last word,
but that may get ugly with bug-checking... but I've already tried
"\s+$b
Ok,
I am now using the following code to check if there is any profanity in the
$FirstName however it just doesn`t work when testing, I am thinking it has
something to do with the way I`m loading the file, any better ways.
$words=file('words.txt');
$done=false;
while ((list($key, $val)=each($w
try this; I am working on the last word... ereg replace is not finding the
REGEX "\.$" - anyone has a clue?
";
echo $string."";
for($i=0;$i<$num;$i++) {
$string = eregi_replace("{$bannedwords[$i]}","[censored]",$string);
}
*/
echo $string."";
// take out the damn ; . : chars on the end of th
This might help.
$no_trailing_zeroes = preg_replace("/0+$/","",$trailing_zeroes);
> Dear friends,
>
> I am accessing MySQL database using apache and php.
> I have to display a double integer field without trailing zeros.
> The number of digits after the decimal point varies.
>
> I have tried se
Just create it online in such a way that you can spider your whole site and
burn it to CD. Granted you will lose the searchability of the DB, but the
contents would all be there, and could easily be indexed so that you could
still find what you are looking for.
Create one page that has a link to
sbergmann Sat Jan 20 09:40:06 2001 EDT
Modified files:
/php4/pear/CacheFunction_Cache.php
Log:
Fixed two small glitches. Note: The Shared Memory version of Function_Cache does not
work correctly at the moment, but I'm on it.
Index: php4/pear/Cache/Fu
sbergmann Sat Jan 20 09:41:55 2001 EDT
Modified files:
/php4/pear/CacheFunction_Cache.php
Log:
Next time without the 'Oops!'.
Index: php4/pear/Cache/Function_Cache.php
diff -u php4/pear/Cache/Function_Cache.php:1.3 php4/pear/Cache/Function_Cache.php:1
I realize my slashes are most likely in the wrong spot and i'm new to this
PHP stuff so a little help would be appreciated. I get a parse error
print "/">Click Here";
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
The complete snippet is
= 5) {
$val = 1;
} else {
$val = $ecb;
$val++;
}
} else {
$val = 1;
}
$expires = mktime(12, 00, 00, 12, 31, 2005);
setcookie("ecb",$val,$expires,"/",".domain.com",0);
?>
I've gotten around it for the moment by using
a browser detection
the slashes ate no the correct escape slashes...
the correct would be:
print "\">Click Here";
- Original Message -
From: Mike Yuen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 20, 2001 1:25 PM
Subject: [PHP] What's wrong with this link?
I realize my slashes ar
Yup, the issue really seems to lie with
the path and domain.
I may just resort to;
header("Set-Cookie: ..")
-Brian
> -Original Message-
> From: DanO [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 7:10 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] cookies - not work
Kristi,
That makes more sense, thanks, but one problem - I don't want to have to do:
$template->assign("FIELD2", $row[fieldname2]);
If I've already called mysql_fetch_array, then I have an array like this:
field1:field1_data
field2:field2_data
field3:field3 data
Is there any way to use the ar
I posted this twice on PHP-Install and got not a single reply back.
So, I'm trying here:
--
I've installed Sun's JSDK v1.3.0 onto my system (an Intel running
RH), and compiled PHP 4.0.4 with the --with-java=/usr/java flag. When I
look in php.ini, I see the following refere
At 11:25 20/01/01 -0700, Mike Yuen wrote:
>I realize my slashes are most likely in the wrong spot and i'm new to this
>PHP stuff so a little help would be appreciated. I get a parse error
>
>print "/">Click Here";
You've got the wrong type of slashes - use backslashes within the string -
e.g. p
www.thickbook.com is a good start. Last I looked it covered Flash 4, and
Flash 5 is quite a bit different.
Basically you have PHP print the variables in HTML and Have Flash parse
that. Flash can't directly parse PHP variables. It's not difficult once you
figure it out.
Mike
> From: "Abe Asghar"
Mike,
Read and print this out :
http://www.zend.com/zend/tut/using-strings.php
It will increase your happiness.
Philip
On Sat, 20 Jan 2001, Mike Yuen wrote:
> I realize my slashes are most likely in the wrong spot and i'm new to this
> PHP stuff so a little help would be appreciated. I
No, it didn't work. I've tried [:space:]$bannedwords[$i][:space:],
\<$bannedwords[$i]\>, and \b$bannedwords[$i]\b. It doesn't detect anything.
I'm reading a list of banned words out of a text file and putting them into
$bannedwords. I'm pretty sure $bannedwords is right, since I've tried stuff
Hi,
I have used the following code to open a file
$fd=fopen("words.txt", "r");
$words = fread($fd, 100);
I then convert a string which is passed in a form to this script
$FirstName=strtolower("$FirstName");
And now I check to see if the lowercase version of $FirstName contains any of
the
I have PHP working like a champ on my WIN 2K computer with IIS. Now I
would like to have it on my notebook, so I loaded Apache and have
following the instructions from Shanx; however, I get the message that
Apache cannot load php4apache.dll. It shows the correct path.
What is the best source fo
Nik Gare <[EMAIL PROTECTED]> wrote
> Does anyone know where I could find a text list of every
> word in the English language ;-)
You could try (also) getting hold of ispell
a search on www.google.com/linux
or sunsite should get it.
You'll need something capable of uncompressing tar archives t
Hello,
I am trying to compile PHP with the option "--with-apxs" to be able to
use both PHP 3 and PHP 4 on the same server.Unfortunately, if I try to
use configure with that option
./configure --with-mysql=../mysql --with-ldap=/usr --with-apache=../apache
--enable-track-var --with-imap=../i
Lets say I have 11 / 3
answer is 2.667
what if I want to get the remainder of it
so 11 / 3 would be 2
is there a built in function for this in PHP?
kinda like MOD in Visual Basic?
- Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
11 % 3
On Sat, 20 Jan 2001 [EMAIL PROTECTED] wrote:
> Lets say I have 11 / 3
>
> answer is 2.667
>
> what if I want to get the remainder of it
> so 11 / 3 would be 2
>
> is there a built in function for this in PHP?
> kinda like MOD in Visual Basic?
>
> - Thanks
>
> --
> PHP General Mailing
I am facing a problem where some users on the server are using php
mail() function to mail a list of users in taken from mysql db(around
5000 users, but not spam), but this is getting the system crashed due to
excessvie loads and if I limit the delivery load on exim than even
geninue mail is getti
Edit your php.ini file and edit your sendmail_path directive. The default
is "sendmail -t -i". Add the correct -o switch (don't remember it
offhand) to have sendmail just queue the email instead of trying to
deliver right away. Then set up sendmail to deliver the queue at regular
intervals.
-R
Hello,
I plan to use session variables to identify if a user is logged in... I
know there is an option to set the life of the session but I am looking for
a way to end the session five minutes after they have did there last
"transaction" with my site...
I don't want people that are actively us
Christian Reiniger wrote:
>
> On Thursday 18 January 2001 23:05, Noel Akins wrote:
> > Question 2:
> > Is there a way for php to detect the cpu speed of a users computer?
>
> If you're on a Linux machine you can read /proc/cpuinfo and pick out the
> speed entry.
Linux on the sun sparc64 archite
Hi,
How about this: Save the "last action time" as a session variable. Whenever
the user hits a page, check that session variable against the current time.
If the "last action time" is more than 5 minutes older than the current
time, log them out/unset session variables.
Should work I guess.
""
while ( $rowData = mysql_fetch_array($result))
{
list($fieldName, $fieldValue) = each($rowData);
$template->assign("$fieldName", $fieldValue);
}
- Original Message -
From: "Jaxon" <[EMAIL PROTECTED]>
To: "Kristi Russell" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday
chagenbuSat Jan 20 12:50:00 2001 EDT
Modified files:
/php4/pear/HTTP Compress.php
Log:
whitespace
Index: php4/pear/HTTP/Compress.php
diff -u php4/pear/HTTP/Compress.php:1.1 php4/pear/HTTP/Compress.php:1.2
--- php4/pear/HTTP/Compress.php:1.1 F
Hello Everyone,
I am trying to make a page that will interact with mysql. I need to be
able to access the result of my mysql_query by using a for loop. I made a
little function that will sortof do this, but it returns a numeric array.
Of course, I want an associative array (becauses things
while($row = mysql_fetch_array($id,MYSQL_ASSOC)) {
foreach($row as $index=>$value) {
$z[$index][] = $value;
}
}
For a table with 3 rows and fields abc and def in each row this would
produce an array like this:
$z[abc][0]
$z[def][0]
$z[abc][1]
$z[def][1]
$z[abc][2]
I am wondering if it would be more efficient to store the integer value that
the php function time() returns when a transaction is inserted into the
database and then when querying the database to get certain transactions
just use basic math functions to get the certain transactions.
For example
I am trying to store some credit card numbers in a database, along with the rest of
the data (dangerous, I know). Unforunately, I am using a provider that doesn't have
the mcrypt functions compiled into PHP, so I guess I am stuck using the swiss-cheese
like XOR method of encryption. My client i
Hi
I'm looking for some free opinion polling code using PHP and MySQL. I've
checked a number of scripts and they haven't been up to scratch - I'm just
after a simple poll that allows a user to vote once (selecting yes or no)
and then for the remainder of their session they can only view the poll
Currently my cookie expires in 1 hour, How can I make it expire in 1 day?
setcookie("MemberLogin",$value,time()+3600); /* expire in 1 hour */
setcookie("MemberLogin",$value,time()+3600,"/",".combatfs.com",1);
WreckRman2
Combat Flight Center
http://www.co
> Currently my cookie expires in 1 hour, How can I make it expire in 1 day?
>
> setcookie("MemberLogin",$value,time()+3600); /* expire in 1 hour */
> setcookie("MemberLogin",$value,time()+3600,"/",".combatfs.com",1);
24*3600
-Rasmus
--
PHP General Mailing List (http://www.php.net
Hi,
I am trying to conect to a MySQL db and no matter what code I use I am always
getting denied, I know the password is correct as I have tested it elsewhere.
Just wondering if this could be caused by the fact that the password has a +
and a . in it. Would that get me denied, and how can I ge
I have some Delphi code that uses the XOR, if that would help.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
Actually, it's excepting the time/date.
It's the path/domain that is creating a problem.
For some reason your original suggestion of
leaving the domain out is working today.
setcookie("ecb",$val,$expires,"/");
I could not get this to work for the life of me
yesterday. Either I was overworked/tir
I had the same problem, i ended up placing the php4apache.dll in the
apache/modules directory where the rest of the modules for apache are
stored.
Then change the entry in httpd.conf to: LoadModule php4_module
modules/php4apache.dll
everything worked then :)
good luck
Morkai
> I have PHP wor
whats the easiest way to go from "/dir1/dir2/dir3/hello.php" to "dir3/" ?
dirname will cut off hello.php but i want to cut dir1 and dir2 as well
Thanks!
- Noah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Cool, so just iterate through the array and sort it into the template
assignment - quite nice!
Thanks for the pointers Kristi!
Regards,
Jaxon
On 1/20/01 3:37 PM, "Kristi Russell" <[EMAIL PROTECTED]> wrote:
> while ( $rowData = mysql_fetch_array($result))
> {
> list($fieldName, $fieldValue)
sterlingSat Jan 20 15:42:03 2001 EDT
Modified files:
/php4/ext/sablotsablot.c
Log:
Fix the scheme handler support and make it compile on win32 systems.
Index: php4/ext/sablot/sablot.c
diff -u php4/ext/sablot/sablot.c:1.32 php4/ext/sablot/sablo
Mike,
Looks like your slashes are backwards use "\" instead of "/" to escape characters.
You will notice that "/" is used in UNIX directories and HTML tags.
Here is the corrected code:
print "\">Click Here";
I assume "PID" is a variable. If so, it should be noted as "$PID".
A really good
Hello!
> whats the easiest way to go from "/dir1/dir2/dir3/hello.php" to "dir3/" ?
> dirname will cut off hello.php but i want to cut dir1 and dir2 as well
I believe that this will do the job
> $i = 1;
> foreach ($dirs as $value) {
> if ($i == ($numberofelements-1)) $lastdir = $value;
> if ($i == $numberofelements) $file = $value;
> $i++;
> }
I don't think the foreach is necessary - Why can't you just say:
$lastdir = $dirs[$numberofelements-1];
$file = $dirs[$numberofelements];
T
hey,
does anyone have a big compiled list? like a profanity library?
maybe even a multi-lingual one!
hey, it would be fun to make :)
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Ce
no without submitting information to the server with get or post.
for example, if a bit of javascript you have comes up with some value, the
only way you can get it to the server is to put it in a get and send the
user to that url:
http://www.mysite.com/index.php?your_js_var=your_value
etc.
_a
>>> is there any benchmarks or proof that I should host a high traffic site on a
>>> FREEBSD/APACHE instead of a redhat Linux/Apache server?
I have _heard_ that linux is great under medium load, but does not deal as
well with super-high loads as well as freeBSD. that has not stopped me from
using
On Sat, Jan 20, 2001 at 05:20:53PM -0800, Alex Black wrote :
> no without submitting information to the server with get or post.
>
> for example, if a bit of javascript you have comes up with some value, the
> only way you can get it to the server is to put it in a get and send the
> user to tha
Just go to one of those raunchy porn sites and pull the words out of thier meta tags
or "hidden" word list (i.e. white text on white background) buried in the HTML.
;-)
> hey,
>
> does anyone have a big compiled list? like a profanity library?
>
> maybe even a multi-lingual one!
>
> hey, i
Hi-
I'm new to this list. I'll start out with hopefully a good question. I have
a project coming up where I need to take some form input insert it into a
premade template and create a custom pdf for a user. The pdf will then be
e-mailed to the user or a link to download it e-mailed to them.
My q
Hello,
I want to send a mail in HTML format with the mail() function.
I have tried to send html stuff in the message parameter, but when I read it
in my hotmail account, I just see the html code and not what the html is
supposed to show.
I suppose that it is necessary to send some additional head
On Sat, Jan 20, 2001 at 06:46:39PM -0700, Pascal Clerin wrote :
> I want to send a mail in HTML format with the mail() function.
> I have tried to send html stuff in the message parameter, but when I read it
> in my hotmail account, I just see the html code and not what the html is
> supposed to
Hi list,
I have scoured the archives with no good game plans.
Here is what I am trying to accomplish:
dump a table to a file on my server:
$sql = "SELECT * INTO OUTFILE '/tmp/test.txt' FIELDS TERMINATED BY '\t'
LINES TERMINATED BY '\n' FROM table_name";
take the file and email it to someone:
u
Hi,
I have a form which users enter their email address, once submitted I need a
way to chop it up and put it in lowercase. So that if a user submits
[EMAIL PROTECTED] I want PHP to throw out Website4S and then make the rest
lowercase so I would get @aol.com
I know how to get the string to lo
What you could do is have a bad word and a reallybadword list. Wank could
be a bad word and if it didn't appear along (ie. whitespace on either
side, or in plural) then it is ok. In really bad word, say F*ck, then it
couldn't appear at all...( ie. f*ckville would be invalid).
It would mean a se
Feel free (as in public domain) to use this function:
http://www.nirvani.net/software/misc/xor_string-1.0.0.inc.asc
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
- - - - - - - - - - - - - - -
Hi all
I think most of the problems I am having with PHP and sample code not
working seems to be because cookies arent being generated
I'm using php.ini in it's default config
Windows 2000 Pro IIS PHP 4.0.4pl1
PHP seems to be working fine otherwise... I did the installshield install
then unzipped
On Sat, Jan 20, 2001 at 05:57:25PM -0800, PHP List wrote :
> dump a table to a file on my server:
> $sql = "SELECT * INTO OUTFILE '/tmp/test.txt' FIELDS TERMINATED BY '\t'
> LINES TERMINATED BY '\n' FROM table_name";
>
> Problem is that once I have created the dump file, it will not allow me to
On Sat, Jan 20, 2001 at 09:10:45PM -0500, [EMAIL PROTECTED] wrote :
> I have a form which users enter their email address, once submitted I need a
> way to chop it up and put it in lowercase. So that if a user submits
> [EMAIL PROTECTED] I want PHP to throw out Website4S and then make the rest
On Sun, Jan 21, 2001 at 04:24:09PM +1300, Lucas Young wrote :
> I think most of the problems I am having with PHP and sample code not
> working seems to be because cookies arent being generated
> I'm using php.ini in it's default config
> Windows 2000 Pro IIS PHP 4.0.4pl1
> PHP seems to be workin
1 - 100 of 112 matches
Mail list logo