Anyone know why I get this warning?
Warning: Bad escape sequence: \. in validate.inc.php on line 142
CODE:
Line 142: if (!eregi("index\.php",$PHP_SELF)) {
blah blah blah;
}
I didn't know there was any other escape sequence possible in RegEx!
I have error reporting set to
error_reporting(32+16+
Hi all.
Firstly apoligies to those on the list who receive every email to the
general list in their inbox like I do :-)
I've just spent a rather frustrating five days (15hrs/day) trying to compile
php 4 for use both at the command line and within apache 1.3.12
(openssl/mod_ssl).
I've scanned th
simple
echo basename($PHP_SELF) or base_name check docu
almir
""Erick Papadakis"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
99foro$tig$[EMAIL PROTECTED]">news:99foro$tig$[EMAIL PROTECTED]...
> hi,
>
> i am using my program
>
> http://localhost/test.php
>
> inside this program is a form, which
ssb Sun Mar 25 02:25:11 2001 EDT
Modified files:
/php4/pear/DB STATUS
Log:
wrapped to 80 columns, replaced a few "-" with "n" for ifx (some
features are emulated through DB_common)
Index: php4/pear/DB/STATUS
diff -u php4/pear/DB/STATUS:1.17 php4/
ssb Sun Mar 25 02:34:31 2001 EDT
Modified files:
/php4/pear/DB ifx.php
Log:
* changed DB_ifx::errorCode to take a parameter, moved the error code
map into the constructor
Index: php4/pear/DB/ifx.php
diff -u php4/pear/DB/ifx.php:1.2 php4/pear/DB
Okey, sorry about that.
Communicating with a servlet via http is not different from other
php-http-methods:
For example:
# First declare some parameters which shall be sent to the Servlet/JSP
$eqid = '1';
$oparameter = 'tablist';
$nocolumn = '1';
$request = '?eqid=' . urlencode($eqid);
$reque
I am having some problems getting PDF support enabled with PHP4.04pl1
Using FreeBSD 4.2, Apache 1.3.9, PHP4.04pl1 and Pdflib 3.0
When doing a PHP ./configure, I see :
Checking whether to include Pdflib 3.x support... /usr/local yes
(and)
creating ext/pdf/Makefile
when doing a make, I see
Is it possible?
Have anyone made a script that allows you to grab a file from another URL directly
from the server so that you don't need to download the file and upload it again?
Chua Zhi Hon aka. Zeus
-
Founder/CEO, Frozened Network
"We provide you with th
ssb Sun Mar 25 03:35:22 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
* added "ufux"
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.126 CVSROOT/avail:1.127
--- CVSROOT/avail:1.126 Thu Mar 22 12:10:57 2001
+++ CVSROOT/avail Sun Mar 2
how do i write to the beginning of a file instead of the end?
--
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, e-mail: [EMAIL PROTECTED]
Hello,
i am writing a script to read out the apaches´ access.log.
Now i want to set a counter when the following String includes the
expression
"MAR" "test.php" "a=5" and "d=6901"
127.0.0.1 - - [21/Mar/2001:21:19:17 +0100] "GET
/test.php?a=5&b=4&c=42&d=6901 HTTP/1.1" 200 54
can someone tell me
$B!z!z!z!z!z!z!z!!(BJust in Mail $B!z!z!z!z!z!z!z(B
$B>pJsDs6!4k6HL>(B $B%P%J!<%3%`(B
$B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
$B:#=5$N$*>)$a%5%$%H$r$*CN$i$;$$$?$7$^$9(B
http://www.hh.iij4u.or.jp/~g-spot/check/mail.html
$Bhttp://www.hh.iij4u.or.jp/~g-s
On Sun, Mar 25, 2001 at 03:39:28AM -0800, adam wrote:
> how do i write to the beginning of a file instead of the end?
fseek will help. With it you con move the pointer to the file beginning.
http://www.php.net/manual/en/function.fseek.php will have details.
-fkr
--
gpg-fingerprint: 076E 1E87
heyo,
http://devhome.net/php/tutorials/230101.html
will be nice
--- adam <[EMAIL PROTECTED]> wrote: > how do i write to
the beginning of a file instead of
> the end?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional co
Hi!
I wonder if it is possible to delete a file using unlink and a time
function.
I wont the file to be automtically unlinked after a month.
I am very thankful for any help.
Regards
Jan Grafstrom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Joe,
I love you!! (In a 'Happy I now have something working' sort of way of
course) :)
It hasn't finished (it's still running now), but it is sure going *alot*
further
than it had before.
-ken
-Original Message-
From: Joe Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001
Thank you Michael. I will look for mime_mail classes.
"Michael Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I'm not sure about including them in the mail function as such, but it can
> certainly be done using one of several mime_mail classes that ar
On Sunday 25 March 2001 15:45, you wrote:
> Hi!
> I wonder if it is possible to delete a file using unlink and a time
> function.
> I wont the file to be automtically unlinked after a month.
man cron
man tmpreaper
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. re
I know this is completely stupid but how can i take something with a single
quote ' and replace it in the string with \'
Ex:
Bain's Deli
to
Bain\'s Deli
$fieldcontents = strtr($fieldcontents, "'", "\\\'"); -or-
$fieldcontents = strtr($fieldcontents, "'", "\\'");
doesn't work. I feel dumb, but m
Nevermind, stumbled across addslashes().
What a wonderful language. :)
-ken
-Original Message-
From: Brooks, Ken [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 25, 2001 10:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] String Functions (replace)
I know this is completely stupid but how ca
Yo!
Does anyone know how I can change a line in a textfile?
I want to find a specific line, and then change it a bit...
I'm thinking about building a PHP script that loads an entire database on a
weekly basis, based on a text catalog.
The reason I'm doing it, it's because the catalog is too generic and has
lots off stuff to be done in it (such as lots of string replacements and
'fixing') before I can really par
I don't know exactly what you are asking.
But I'm running a script as we speak that is pulling 75000+ rows from
an oracle database over ODBC (from a remote server) and creating
a table in a local mysql database, dumping all records into it.
-ken
-Original Message-
From: Christian Decher
In article ,
[EMAIL PROTECTED] (Kristofer Widholm) wrote:
> Warning: Bad escape sequence: \. in validate.inc.php on line 142
>
> CODE:
> Line 142: if (!eregi("index\.php",$PHP_SELF)) {
> blah blah blah;
> }
>
> I didn't know there was any other escape seq
Your suggestions returned a parse error: I don't know.. I'm new to this.
You said something about file(), could you explain that? Maybe that's the
problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
All the variables are true. When I "post" the information to a nother file from
the form, it works.
This is the form script, if you're wondering..
Submit news
Name:
Email:
Subject:
Message:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
> Have you looked into javascript/java?
This client has worked up a Power Point slide presentation that he wants
me to duplicate on the web. I had a PHP solution that was working fine,
but then he decided to jazz up his Power Point presentation some. The
adding a single line of text at time
Hi!
This is what you want:
http://www.php.net/manual/en/function.preg-replace.php
The preg_replace-method uses a ordinary RE to search and replace.
Hoppas det går vägen!
/ Jeppe
Jimmy Bäckström <[EMAIL PROTECTED]> skrev i
diskussionsgruppsmeddelandet:001901c0b543$329648c0$[EMAIL PROTE
Is it just me, or do parse errors get reported by the engine even if you use
your own error handler?
I've registered my own error handler with "set_error_handler()", but it
doesn't get called on parse errors -- the manual seems to hint that this is
the case (without actually saying it), and I sea
php-general Digest 25 Mar 2001 18:29:24 - Issue 588
Topics (messages 45471 through 45500):
Re: Text fading with PHP?
45471 by: Kristofer Widholm
Re: What is session.cookie_secure?
45472 by: Yasuo Ohgaki
Re: [PHP4]
45473 by: Joe Brown
45496 by: Dddogbruce \(
Any way to combine both forms of url parsing?
I want to use standard slash notation for navigation ,but also account for
the occasional variable used within a single page.
e.g. URL can be either:
domain.com/index.php/main/index.html?ii=1
or:
domain.com/index.php/main/index.html?ii=1
if (isset(
I'm writing a news script, and I just got it working earlier this
morning. Now it writes the variables from the form to the .txt file;
but when I go to write again (another news article) it does it beside,
not above. Me, thinking so brilliantly at 6AM, thought append would
mean above, but it mea
i believe there was a post about 10 messages ago regarding this same
problem--try fseek:
http://www.php.net/manual/en/function.fseek.php
-jack
-Original Message-
From: Dddogbruce (@home.com) [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 25, 2001 1:36 PM
To: [EMAIL PROTECTED]
Subject: [P
Thanks for the quick reply, looking in to it!
--
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, e-mail: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jaxon) wrote:
> Any way to combine both forms of url parsing?
> I want to use standard slash notation for navigation ,but also account for
> the occasional variable used within a single page.
>
> e.g. URL can be either:
> domain.com/index.php/m
Ok, with this fseek..
Could you give me an example of how to implement it?
--
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, e-mail: [EMAIL PROTECTED]
oops :)
http://www.domain.com/index.php/main/index.html?ii=1
versus
http://www.domain.com/index.php/main/index.html
I want to get "index.html" and "main" into variables, as the two items will
always be present - if $ii is set, I want to strip it from the URI before
parsing the items out.
I supp
someone was asking about fseek...try this:
http://www.php.net/manual/en/function.rewind.php
i haven't tried it, but it seems to return the pointer to the beginning,
which is where you wanted...
-jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
You should find it on
http://www.php.net/manual/en/functions.fseek.php
Or something. There are examples that are quite clear.
- Richard
""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok, with this fseek..
>
> Could you give me
Re-create the file. You're most of the way there.
if( $formSubmit )
{
echo "Your news has been processed.";
$filename = "news.txt";
//This is simpler than messing with an array of the original content.
$fp = fopen ($filename, "r");
$newsSubmit = fread ($fd, filesize ($filename));
fclose ($fp)
Hi!
Check out these two related articles (and user comments) :
Building Dynamic Pages With Search Engines in Mind :
* http://phpbuilder.com/columns/tim19990117.php3
* http://phpbuilder.com/columns/tim2526.php3
Also c
Thanks! :)
Jack Dempsey wrote:
> someone was asking about fseek...try this:
> http://www.php.net/manual/en/function.rewind.php
>
> i haven't tried it, but it seems to return the pointer to the beginning,
> which is where you wanted...
>
> -jack
>
> --
> PHP General Mailing List (http://www.php.
is there any why to find out from php with oci8 functionen , which colomn/s
is/are primary key in a table in oracle
almir
--
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 admini
i was pretty sure that there was a function to return JUST the script
filename.. Unlike $php_self and $script_name i need something that till
ruturn JUST the scriptname. ie /test/test/blah.php returns blah.php.
any ideas? or am i going to have to reverse the string find the first "/"
drop th
When you say $newsSubmit = fread ($fd, filesize ($filename));
Do you mean specify the filename? $news.txt then?
--
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,
Hi Kurth,
Check out basename() and use it against a predefined variable such as
SCRIPT_NAME. Example :
///apples/foo.php?fruit=apple
print basename($SCRIPT_NAME); // foo.php
Be sure to check out :
http://www.php.net/manual/en/language.variables.predefined.php
http://www.php.net/man
Take a closer look at the previous message I sent $filename was defined as:
$filename="news.txt";
""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When you say $newsSubmit = fread ($fd, filesize ($filename));
>
> Do you mean specify t
Oh. Duh! Thanks. ;P
Joe Brown wrote:
> Take a closer look at the previous message I sent $filename was defined as:
> $filename="news.txt";
>
> ""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > When you say $newsSubmit = fread (
$fp = fopen ($filename, "r");
$newsSubmit = fread ($fd, filesize ($filename));
These are giving me a parse error:
Warning: Supplied argument is not a valid File-Handle resource in
C:/XITAMI/owen/website/php/newsSubmit.php on line 10
--
PHP General Mailing List (http://www.php.net/)
To un
it would help if you showed a snippet of your mail code
- Original Message -
From: "Atet Sugiharto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 24, 2001 1:49 AM
Subject: [PHP] Sendmail
> Hi ,
>
> I'm at a lossI've searched throught the knowledgebase, archives, d
I wanna get the numeric index for a multi-dimensional associative array...
I have like
$myArray = array(
"one" => "something",
"two" => "otherthing",
"three" => "whatever"
);
I want to, given the key (or val
maybe spinning the 'd' in $fd 180 degrees to make it a p will help...
Sorry, haven't tried this myself, typo's happen.
heh, I'm still trying to compile php 4 windows :-( been hoping for a
helping hand.
""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EM
I'm such a pest.
--
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, e-mail: [EMAIL PROTECTED]
Ok, it wrote, but didn't write above.. *grins*
--
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, e-mail: [EMAIL PROTECTED]
At 03:53 PM 3/25/2001, Philip Olson wrote:
thank you - that was the function that i was looking for!
~kurth
>Hi Kurth,
>
>Check out basename() and use it against a predefined variable such as
>SCRIPT_NAME. Example :
>
>///apples/foo.php?fruit=apple
>
> print basename($SCRIPT_NAME); // fo
I'm loading a set of txt files into a DB. The first 7 lines of each file
are useless to me...
I want some way I can always jump those 7 lines... I tought of doing a
little function like jumpfirstsevenrows(array), but then I'd have to pass
the whole array as parameter and that can get real memor
Hi, can anyone point me towards an example of how to use a drop down select
as a navigation jump, maybe by sending a redirect header?
thanks!
duirfire
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
hey-
Alright I noticed that question about URL parsing. I could've sworn I saw
some article on PHPBuilder.com that said that instead of doing all that
modifying with apache, you could simply write something to change the URL
with '?' and '&' and '=' so that they symbols could be represent
Regarding my last email (about jumping the first 7 rows of an array)...
why does this code doesnt work?
for(reset($array),$count=0;$count<6;next($array),$count++);
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP Ge
Ok, I'll get this eventually.
--
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, e-mail: [EMAIL PROTECTED]
Chris,
a few answers :)
On 3/25/01 5:43 PM, "Chris Cocuzzo" <[EMAIL PROTECTED]> wrote:
> hey-
>
> Alright I noticed that question about URL parsing. I could've sworn I saw
> some article on PHPBuilder.com that said that instead of doing all that
> modifying with apache, you could simply write
Hi
I wondered if it was possible in PHP to let it pop up a screen which
reqcuires username/pwd from the visitor, just like you can tell apache to do
so with the .htaccess files.
And if yes, how to retrieve the input from the user ?
--
- NoSpeed
--
I think I just slightly unsure of how that explode() function works in this
situation...could you clarify further?
chris
-Original Message-
From: Jaxon [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 25, 2001 6:06 PM
To: [EMAIL PROTECTED]; PHP General List (E-mail)
Subject: Re: [PHP] A
check this out:
http://www.zend.com/zend/tut/authentication.php
regards,
jaxon
On 3/25/01 5:59 PM, "NoSpeed" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I wondered if it was possible in PHP to let it pop up a screen which
> reqcuires username/pwd from the visitor, just like you can tell apache to do
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Christian Dechery) wrote:
> $myArray = array(
> "one" => "something",
> "two" => "otherthing",
> "three" => "whatever"
> );
>
> I want to, given the key (or value),
Wow, great !! Just what I was looking for !
Thanks :
--
- NoSpeed
--
- Carpe Noctem
"The stickers on the side of the box said "Supported Platforms: Windows 98,
Windows NT 4.0, Windows 2000 or better", so clearly Linux was a supported
platf
Chris,
> I think I just slightly unsure of how that explode() function works in this
> situation...could you clarify further?
>
>>
>> $path_array = explode('/', $REQUEST_URI);
>>
>> $last_item = array_pop($path_array);
>> $next_to_last_item = array_pop($path_array
Can any one help me with the following problem?
I have a very simple query:
...
$sql="insert into tt (a, b) values ('1', '2')";
$result=mysql_query($sql);
...
I always got the following error message when I run it from my browser.
Warning: MySQL: Unable to save result set in /usr/local/apach
Is there any way to decrypt dat encrypted using the crypt function? If not, then what
purpose does that function have?
right. ok I understand that explode function. But what I'm asking is not so
much once I have a URL in the form of /something/something/something
...etc.., but more if I have a URL like /something?d=a&f=g, to make it like
/something/d/a/f/g ... do you know what I mean?
Chris
-Original Messa
Unix "Crypt" function is a one way encrypytion algorithm therefore you
can not technically decrupted as such. The way that you can check to
see if the given uncrypted value is equals to its crypted value is to
1) Crypt the string with the same "salt"
2) Compare this with the crypted version
If t
Hi all,
I know that we can't make a class method or variable private in php (I hope
this get improved sometimes). But, I'm wondering if anyone has found a
smart way to limit that only a certain file can call the function/method
from another file.
Say, I have the file function_def.inc that has
while a bit ugly, you could just use array_pop() to get each item into a
variable and then echo them back out into your variable assignment...
somewhat cleaner would be to create an assoc array of config vars:
$uri_items_num=count($path_array);
for ($i=1, $i <= $uri_items_num, $i++)
{
$k
<< Is there any way to decrypt dat encrypted using the crypt function? If
not, then what purpose does that function have? >>
Crypt cannot be decrypted. One use of the function is for storing passwords
on a server where people can access them. If you crypt the passwords before
you store them on th
Dear All,
I put the code like this :
Email
Thank you for your input\n";
}
else{
echo "Error \n";
}
?>
I've try to put this code to another server and it's work.
I really lost to figure out what's wrong with my configuration (I'm new in PHP too..)
> Is there any way to decrypt dat encrypted using the crypt
> function? If not, then what purpose does that function have?
Encrypt data! ;)
crypt is a one-way finction, it produces a hash from some
plain text, and its result is suitable to store sensitive
data in database, like passwords...
I
On Sun, 25 Mar 2001 08:52, Paulo Vinícius Vitto Ruthes wrote:
> folks,
> i installed php4 by a RPM, it wasn't compiled --enable-gd-imgstrttf ,
> so, when I use a function like
> ImageTTFText(), it returns me the text mirrowed (inverted like a
> mirror) and the angulation doesn't work right...
> bu
On Mon, 26 Mar 2001 08:25, Christian Dechery wrote:
> Regarding my last email (about jumping the first 7 rows of an array)...
>
> why does this code doesnt work?
>
> for(reset($array),$count=0;$count<6;next($array),$count++);
>
> . Christian Dechery (lemming)
> . http:
On Sat, 24 Mar 2001 11:07, YoBro wrote:
> What could I possibly be doing wrong here. The information just will
> not insert into my database.
> ARGH!
>
> Please help if you can...
>
>
> $user = "xyz";
> $pass = "123";
>
>
> //Connect to Database xyz
> $db = mysql_connect("localhost", $user, $pass
On Sat, 24 Mar 2001 14:58, Brandon Orther wrote:
> Hello,
>
> I have a cgi that I run in telnet by doing this:
>
> perl /script/cgi-script.cgi name=cgi+script purpose=test
>
> is there a way I can run a cgi script and pass it variables?
>
> Thanks
> Brandon
Check the Program execution functions;
Hi
what you need is:
$sql = "INSERT INTO orders (product,name,email)
:VALUES ('$product','$name','$email')";
You will also need to escape any single quotes in the variables
Tom
At 01:05 PM 24/03/01 +1200, YoBro wrote:
>I have tried that, and I have been reading all sorts of info and been
>cop
I know it is possible to redirect a user to their home page, but is it possible to
determine what home page they are using?
K, read em all, and understood more than I thought I :)
I still don't see how you can 'sanitize' a URI, eg discard anything
including and after "//" or "??". I think this is needed if you want to
discard a query string or irregular syntax from your URI.
ereg's don't work reliably, due to the p
A, I see. Thank youthat is actually a great idea. Why didn't I think of
that?
/me hits himself in the head
- Original Message -
From: "Opec Kemp ( Ozemail )" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 25, 2001 6:57 PM
Subject: RE:
If you use sequence to generate your last_inserted_id, then you can always
get that ID by calling
SELECT sequence_name.CURRVAL
FROM DUAL;
within the same session.
Chien-pin
On Sun, 25 Mar 2001, almir wrote:
> is there a way to get last inserted id from oracle as
> mys
why can't you str_replace the $QUERY_STRING frm the $REQUEST_URI?
give an example of what you are trying to do? (I'm sorry if you did
and I missed it)
-aaron
At 9:06 PM -0500 3/25/01, Jaxon wrote:
>K, read em all, and understood more than I thought I :)
>
>
>I still don't see how you can 'san
whups, sorry - here is the example:
I want to turn URI's like:
/script.php/main/index.html?junk=junk
/script.php/main/index.html//
/script.php/main/index.html??
all into:
/script.php/main/index.html
best regards,
jaxon
On 3/25/01 9:25 PM, "Aaron Tuller" <[EMAIL PROTECTED]> wrote:
> why can'
On Sat, 24 Mar 2001 01:08, Erick Papadakis wrote:
> actually, i am not sure how i can use this to convert an uploaded word
> or pdf file into plain text and then do somethign with that text? can
> someone please help?
>
> thanks/erick
Well, presumably you would use system or somesuch to run whate
Im trying to get an array saved in a cookie, I have this snippet so far..
$username and the others vars are coming from a form submitted.
did I write this ok?
is there a limit to how much I can save in the array ?
Thanx
amd
_
Do Yo
I guess I'm doing another rite of passage for a PHP programmer: The forum
Any advice?
I did code forums once before, but they were rather rudimentary (No OOP, poorly
written, no DB abstraction).
- Kath
> Any advice?
USENET style threads. I *really* hate Phorum-style threads, where
everything's just tacked onto the end. Though Phorum-style is easier, it
really detracts from the conversation when you have to write whose post
you're replying to in your replies.
Sig for a Day
Stephan Ahonen, ICQ 4
hi david,
thanks for the note. ok, here is what i want to do. i
want my users to upload WORD, XLS, PPT and PDF files.
when they upload, i store these files in the temp
directory, grab the text from them, and then put it
into my database for later searching. i dont care
about the formatting, i onl
What's the difference between newsgroup-style and phorum style threads?
I'm always doing messageboards, and this thread got my attention
Gfunk - [EMAIL PROTECTED]
I think what he means is this:
This is newsgroup style:
+ Main Post
|
| - Reply 1
|
| --- Reply 1 to Reply 1
| --- Reply 2 to Reply 1
|
| --- Reply 1 to Reply 2 to Reply 1
|
| -
You can do it with javascript like this.
function go(selectBox) {
var where = selectBox.options[selectBox.selectedIndex].value;
if (where != "") window.location = where;
}
Page
...
Or you can use PHP like this.
page
...
--- nav.php ---
- Original Message -
From: duirfire <[EMA
I dont like any of them, the UBB style is the best.
-Original Message-
From: Kath [mailto:[EMAIL PROTECTED]]
Sent: Monday, 26 March 2001 2:02 PM
To: Gfunk; Stephan Ahonen; PHP User Group
Subject: Re: [PHP] The ubitquitous forum project
I think what he means is this:
This is newsgroup s
Hey Erick,
unfortunately I know little about this myself, but I'm sure, this article
will help you as a starting point.
http://www.phpbuilder.com/columns/alain20001003.php3
Good luck
-ren
- Original Message -
From: "Erick Papadakis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[E
hi renike,
thanks for that link, but looks like that tutorial
will only work on windows machines (because of COM
objects)?
i am on a linux box.
cheers/erick
--- Reinke Bonte <[EMAIL PROTECTED]> wrote:
> Hey Erick,
>
> unfortunately I know little about this myself, but
> I'm sure, this arti
I'm experiencing all kinds of problems with, what we suppose is the cookie
setting. This is the code:
if (isset($authentication)) {
setcookie("status", $status, time()+600);
setcookie("user", $user, time()+600);
setcookie("group", $group, time()+600);
setcookie("authentication", $authent
On Mon, 26 Mar 2001 13:20, Erick Papadakis wrote:
> hi david,
>
> thanks for the note. ok, here is what i want to do. i
> want my users to upload WORD, XLS, PPT and PDF files.
> when they upload, i store these files in the temp
> directory, grab the text from them, and then put it
> into my databa
1 - 100 of 118 matches
Mail list logo