ee if there is already one open,
therefore despite the fact that this link wasn't even using the same library
(mysql vs mysqli) it didn't matter; only one connection to the database
could be made (as root in this case).
If this is incorrect or anyone has additional insight, please reply
yesterdays date?
Yup,
DELETE FROM your_table WHERE date_column = curdate() -1;
Cheers
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ect of type Data."
However if I create the link with a reference ...
$link =& new Data();
...everything works fine.
This error is interesting because it only occurs on the machine mentioned
above, in a Windows/MySQL 5.0 environment, everything works fine without the
reference
wever, the
code seems to work fine. It still would be better not to use a reference
though.
Thanks in advance,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
his in a script now to run my
chat now with nohup, something like this
/* my script to start server */
#!/usr/bin/bash
nohup ./server.php &
of course i have to be in the right directory to do this but it works and
finally, i can log off of my account without the server going down yay!
m
ah ok thanks, am reading it now
On Mon, 21 Nov 2005, Marcus Bointon wrote:
On 21 Nov 2005, at 17:39, matt VanDeWalle wrote:
I have what may seem like a small problem but its not obvious to me.
I have a script that I forked and that part works fine, it forks, tells me
the pid like I wanted
script(my php chat server) was crashing at seeminly random times. I
finally figured out that when I logged out of my shell in linux, the
talker would go down as well. Obviously I don't want that but what do I
need to add to the line when i start the script
thanks
matt
ps If it helps,
saving the
signup info and then when the user clicks continue, it would have their
info. I know session vars work between two pages but will sessions work
across 3 and 4 pages or not?
thanks
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ion for validating emails.
>How do you all validated emails on form submission?
There's a good article on validating e mails here: http://tinyurl.com/9k5jh
Cheers
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes, you assume right, I really did mean socket_getpeername()
its about midnight here and my brain shuts down at about 10:30 :p
thanks for the reply
matt
On Thu, 10 Nov 2005, Curt Zirzow wrote:
On Thu, Nov 10, 2005 at 11:35:06PM -0600, matt VanDeWalle wrote:
hello,
I was wondering, is there
..." instead of "connection:
127.0.0.1"
is this possible with the command line interface?
I am using php 4.3.10 on linux
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$query = "SELECT * FROM login WHERE username = '".$_POST['username']."' AND
pass = '". $_POST['pass']."'";
> What is the correct syntax for
>
> $query = "SELECT * FROM login where
> username='$_POST['username']' AND pass ='$_POST['pass']'";
>
>
> Thought this would work.
>
> R.
>
> --
> P
I don't really have a question, I just have noticed in working with php
for about a year off and on, so you could probably say i'm a bit new
still, what an error says it is, or what line it is on, is hardly ever the
case, e.g, several different times until i figured out what this meant, i
would
hello all,
I have just installed php-4.4.0 on my windows xp system and added the
directory to the path c:/php-4.4.0-Win32 but I am having problems with the
cli version of php. I can get into the program but after i type a bit of
code, I try the following keys to get output but it never parses
pump it in
but I am not sure if this is the best option so am looking for
suggestions
Thanks!
You can easily do this; you could also cut out the middleman and use the
ODBC driver to import/export directly.
HTH
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubs
word or email)
obviously I'm doing something wrong but what?
matt
ps, hope that is enough of the code to tell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;t hurt either ;)
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
od in your case.
HTH!
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello again
I was writing and rewriting my user function for my chat server trying to
crush this bug but its beyond me whats going on. basically I have it so
if a new user comes on, we know that if they type "new" at the prompt so
it goes to the newuser function, asks for a username, accepts
hello again
I have been battling this mysterious char thats showing up in the buffer
when i first log onto my chat, or else try to add new things to the logon
function, I am getting the code not to "fall through" to the next prompt
however, using $varname = socket_recv($sock, $read, 1024, 0)
th
ything, the code doesn't even wait, it apparently is
some big code problem on my part or i just need to somehow clear the input
buffer, which i assume is just stdin,
do i need something like flush($sock); or did i just hit the nail on the
head with that question
matt
--
PHP General Mailing List
Well, I would like to at least be able to upload a 10mb - 15mb file. I
don't need it to upload files that are HUGE, just a reasonable size.
"zzapper" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 30 Sep 2005 01:19:01 -0400, wrote:
>
>>Hello everyone. I'm basically bui
stions. I really need to
upload larger files, and since it's going to an FTP site, there shouldn't be
too many size restrictions.
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using 5.0.something.
"Al" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>> Hello everyone. I have a script where I am using FTP functions to chmod
>> files/folders. I'm running into a problem with the ftp_chmod
I wrote a script for this; it's designed to run from the command line in
*nix, but can be triggered via exec():
Usage: ./pdf2thumb.php "source_dir" "out_dir"
[code]
#!/usr/local/bin/php
echo("USAGE: pdf2thumb source_folder_path
\n\n");
exit;
}
if(!isset($argv[1])){usage();}
substr($a
hey, thanks for jogging my memory about the array_keys ; that was exactly
what i wanted,
now I don't have to run the program through the more program now, and i
got all the names of the arrays in the big array without having half of
the info scrolling off the screen.
thanks
matt
-
ering, for an array that has several arrays in it, is there a way to
print the array names that are contained in the "main array" but not the
contents of each?
thanks
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mpt is where the no-screen-echo finally works like it
should
I must be doing something incorrectly but, what?
thanks
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello,
I just wanted to say thank you to the person who basically rewrote the
function i seemed to have problems with and it actually now works.
thanks again
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I should have added in my previous message, what my test input was so :
ok, i login, this is what I typed to test the little piece of code i
previously wrote...
/* my input */
.quit goodbye
/*
just a note, I know that '.quit' by itself is only one word, i guess I
just assumed people would know
an integer like it should
am I the only one who finds this little thing odd or am I missing
something that it is so simple it already sticks out to others as a big
glaring error?
any ideas?
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It doesn't make sense to me that the function would work fine on a file and
not work on a directory. Moreover, why would the ftp_site chmod command
produce a working result and not the ftp_chmod? This seems strange to me.
-Matt
"Raj Shekhar" <[EMAIL PROTECTED]> w
;.$file;
ftp_site($connId, $chmodCmd);
This properly changes the folder permissions to 777. Does anyone know why
the ftp_chmod() function doesn't work correctly? As a side note, the
ftp_chmod() function works correctly on a file, but not a directory. Any
help is appreciated.
Thanks,
Matt Palermo
$num=mysql_num_rows($sql);
Gustav Wiberg wrote:
Hello there!
How do i get a fast count of a recordset in php?
Look at this code:
$sql = "SELECT COUNT(IDVara) cn FROM tbvara WHERE Varunamn LIKE
'$checkLev%'";
$querys = mysql_query($sql);
//Count products in db
//
$dbArray =
True, but if you check that it's equal to 'on' and it doesn't exist,
you'll get a warning. If you want to avoid the warning, check that it
exists first.
Matt
I mean, if $_SERVER['HTTPS'] exists doesn't mean it's equal to 'on'
bu
Bad Idea. A Very Bad Idea actually. If he's just looking to
hide error output, he should at least edit php.ini
to log to an error file. Otherwise, debugging his code would be
horrible. The "@" is total slop.
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To uns
Perhaps "svscan" and its associated "daemontools" programs could be
used to monitor the script instead of relying on cron.
http://cr.yp.to/daemontools.html
On 8/2/05, André Medeiros <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-08-02 at 15:09 +0100, Stut wrote:
> > André Medeiros wrote:
> > > Do like
, you will have to preface your script's path in your cron
entry with the location of the PHP binary:
0 1 1,15 * * /path/to/php/binary /root/scripts/System_Dump.php
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dotan Cohen wrote:
Hi list,
I need to redirerect a page, and send the referer information along
with the redirect. I have tried:
header("Location: $url");
and
print"";
Both of them redirect as expected, but the browser (Firefox and Opera)
do not send referer information along with the request.
lag in the database that
this link is no longer valid, and redirect the user's browser to the
file (check out the "header" function). The link in the email will only
be valid once (or as many times as you allow). You could even tie this
in with a login/password form.
HTH!
Matt D
The latter is slightly more efficient, but you won't notice the difference.
Incidentally, you should consider separating your presentation from your logic
a little more, but that's a whole other issue.
HTH
Matt
On Thu, 28 Jul 2005, Bruce Gilbert wrote:
Here is
A blank (transparent) pixel would be more difficult, but a simple
colored pixel would be easy:
In target file:
pixel.php
I guess this begs the question, why not use session variables to track
activity??
Matt Darby
Brian Dunning wrote:
I want to create a pixel that can be used to track
$_REQUEST['user']==$curr_user?$select="selected":$select="";
echo("$curr_user
Jack Jackson wrote:
Hi,
I have a form and it does basic error checking after submission; when
the user omits required fields it kicks back the form with highlighted
errors telling them the error of their ways
The easiest way to fix this is to validate your output. Konqueror is
likely more picky about correct code.
Here is validator output:
http://validator.w3.org/check?uri=http%3A%2F%2Fmichelle.konzack.home.tamay-dogan.homelinux.net%2Ftdlandmap%2F
Michelle Konzack wrote:
Hello *,
I an developing
Eugene Voznesensky wrote:
I' looking for free PHP/MySQL Affiliate Tracking
[Management] program. Would appreciate any advice/idea
fd.
Have you looked over sourceforge.net?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ideas on how
to charge would be great. Thanks
I charge $50/hr. Be very careful when you specify a timeline, it will
always take at least 10-25% more than you estimate! It's better to over
estimate and complete earlier. At least it makes you look good ;)
Good Luck!
Matt Darby
--
PHP Ge
correct? This happens to me sometimes if the
query is rather crazy...
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://uk.php.net/manual/en/ref.session.php
Mikey
So long as you call session_start(); at the very top of your scripts,
sessions will work.
session.auto_start is fine if your entire site will be using sessions.
Matt Darby
babu wrote:
It will become a big mess up for me if i combine all the files as they are
large files.
Matt Darby <[EMAIL PROTECTED]> wrote:
babu wrote:
I am using header method for redirecting to another php file.I also want to
pass some variables to the redirected file.
for e
It *is* a great book (I cut my teeth with it as well):
PHP and MySQL Development (Welling and Thomson)
http://www.amazon.com/exec/obidos/tg/detail/-/0672326728/qid=1121869940/sr=8-1/ref=pd_bbs_1/002-5827183-4477639?v=glance&s=books&n=507846
Read it, learn it, live it.
Matt Darby
Jay B
George B wrote:
Jay Blanchard wrote:
[snip]
$money -= 10;
saves some chars ;)
[/snip]
This actually requires two trips to the database, once to get $money and
once to update $money. Do it in the query instead...once.
$sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` =
(`myMoney`
You should definitely see a listing for MySQL in phpinfo()...
What order did you install MySQL/PHP/Apache?
Linda H wrote:
I added the following to the top of my script:
Got all sorts of environment and path info. Not anything about MySQL,
but I didn't see anything that looked obviously wron
Try this just for kicks:
See if this will output errors. It's rather hard to debug without error
messages ;)
If I remember correctly, isn't php.ini supposed to be in c:/PHP?
Linda H wrote:
Thanks for the advice, Matt, but it doesn't seem to solve my problem.
php.ini is i
p.ini:
Find php.ini (not sure where it installs to in Windows version), and set
error_reporting = E_ALL.
This will show all notices and warnings generated by your PHP code;
extremely usefull in debugging.
Matt Darby
Linda H wrote:
Hi,
I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.
t uses the fopen()
function to access the PHP file, that when the remote PHP file gets executed
it can log some information about the source server which is accessing it?
If so, what kind of code would I need to place in the remote PHP file to
obtain some of the information.
Thanks,
Matt Pa
Wouldn't something like rsync be better suited for this?
I only ask because I've run something like this before...
Matt Darby
Richard Davey wrote:
Hello Matt,
Saturday, July 16, 2005, 3:04:29 AM, you wrote:
MP> I am writing a script that will read a file from a remote server
server. Is there a way around something like this? Or perhaps could the
script keep time of how long it has been running will reading/writing and
then be able to continue writing to the partial file? Does anyone have any
suggestions for this problem?
Thanks,
Matt Palermo
http://sweetphp.com
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
http://www.criticalcode.com
-Original Message-
From: Christian Calloway [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 10:56 AM
To: php-general@lists.php.net
Subject: [PHP] HTML -> PDF PHP Package
Hi Ever
$average = round(($votes/$pts),2);
;)
Ryan A wrote:
people vote on a scale of 1-5, so the average should be between 1-5
(right?? am not even sure of this!)
Yes.
I was thinking of rounding it with a 2 decimal point...eg:
round(5.045, 2)
Just need to solve this and them am hittin
Put this between the page's tags:
http://somesite_to_refresh_to";>
The "1" in the above line controls the time to refresh; the higher the
number, the longer to refresh.
Matt Darby
Miguel Guirao wrote:
Hello people,
I need to have a web page (PHP) that displays
I have an array setup as such: *$arr['generated text']='generated number';*
What would be the best way to echo the key in a loop?
Seems pretty easy but I've never attempted...
Thanks all!
Matt Darby
uple tutorials but none explain this very wellanyone have
any thoughts?
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
http://www.criticalcode.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ething slightly different than
mine does, then try adjusting which field cut takes.
HTH,
Matt
Philip Hallstrom wrote:
Suppose I have a directory with a HUGE number of filenames, all of which
happen to look like integers:
~/nntp/1
~/nntp/2
~/nntp/3
.
.
.
~/nntp/59874
~/nntp/59875
~/nntp/59876
Now
ment. I don't
have to even think about the server. I spend about 1 hr a month messing
around with the server (daemon restarts or php config changes). That's where
LAMP's value really shines through I think you will find.
Thanks,
Matt Babineau
Criticalcode
858.733
I bet if you connect using the IP directly it will solve your problem.
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
http://www.criticalcode.com
-Original Message-
From: Jonathan Duncan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 22, 2005 6:27 PM
To: php
Well after the first query you could do this:
$art_id = mysql_insert_id();
There is your new unique art_id you just created.
Do this for the next table, the do the insert on your 3rd table.
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED
Yikeshas anyone got a url for a good "Make PDF From HTML Class" that
uses my newly installed PDFlib library?
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Leif Gregory [mailto:[EMAIL PROTECTED]
Sent
that good.
Thx-
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 2:05 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Beautiful HT
ally up a creek
right now - unless I convert the bg images to foreground image which would
really suck...but could be done.
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Leif Gregory [mailto:[EMAIL PROTECTED]
Sent:
m to be
able to print a copy. I've looked into PDFing the invoice but its just a bit
easier to hit the print button and be done since Adobe PDF usually crashes
your browser :(
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Messa
y more input on this?
Everything I have read so far has been very helpful and I thank you for
that.
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Marcus Bointon [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 5:0
run on the
server to do the convert work.
Thanks,
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Jack Jackson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 3:21 PM
To: php-general@lists.php.net
Subject
a JPG? I'm on
a linux box and have php 4.3.10.
Thanks for the help!
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
Mark Sargent wrote:
Hi All,
with the below code, $myrow[1] should = product_name's value,
$myrow[2] should = product_model_number's value and $myrow[3] should =
product_serial_number's value, but, product_name's value is not being
displayed, and the values are being moved to the left 1. Meaning
hanks,
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
Yeah, I read this article, and it works, but it doesn't set you up for a
drill down scenario...
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Thursday, Mar
tyle menus or whatnot, I'm interested in the
methods you used to achieve your success.
Thanks All!
PS- Thanks to those who suggested the Linux command line HTML 2 PDF
package!!
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
Hi All, I have some reports I need converted from HTML to PDF, I'm on a LAMP
box, so does anyone have any free suggestions?
Thanks,
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
> Does anyone know how to get a particular option to display in a drop menu?
>
>
> Option Value
> -
> value1
> value2
> value3
> value4
>
add selected="selected" to the option
value4
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
As the author, I'm precluded from _recommending_ my book 'PHP 5 Objects
Patterns and Practice'. Nevertheless it does cover design patterns in
general and enterprise patterns in particular, so it's relevant to the
thread.
http://www.amazon.com/exec/obidos/tg/detail/-/1590593804
It's worth taking
You might want to check this out as well:
http://www.zend.com/zend/tut/using-strings.php
rory walsh wrote:
Can anyone tell me if there is a difference between double quotes and
single quotes? Cheers,
Rory.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Double quotes expand variables, that is, if $a = 2, then
echo "The value is $a2";
will print "The value is 2".
Single quotes return strings literally. So, echo 'The value is $a2'
would print The value is $a2
Cheers
rory walsh wrote:
Can anyone tell me if there is a difference between double quote
Any help would be greatly appreciated!!
Thanks,
Matt Cassarino
Cell: (206) 484-4626
Web: www.mattcass.com
Email: [EMAIL PROTECTED]
> I need to to an application in PHP with graphics creation.
> The database where i need to go and fetch the values is access.
> is possible for PHP to fecth values from an access database ??
http://us4.php.net/odbc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
to add the set_time_limit code to the HTML page with the form?
But how do I do this?
Any ideas?
Thanks a bundle!
Matt
- Original Message -----
From: Matt Cassarino
To: php-general@lists.php.net
Cc: Matt Cassarino
Sent: Wednesday, February 23, 2005 1:01 PM
Subject: Web Browser Timeout
around this?
Ideal solution would be on the server side b/c I don't want to have my users
set a browser option.
Thanks a lot!
Matt Cassarino
Cell: (206) 484-4626
Web: www.mattcass.com
Email: [EMAIL PROTECTED]
> I am developing an application. When the user signs in a Session ID is
> created (for argument sake: 123). I have a sign out page that has the script
> session_destroy() on it. This page directs me to the sign in page. When I
> sign the same or any other user in again I get the same session id (1
On Fri, 18 Feb 2005 12:10:32 -0500 (GMT-05:00), George A. Balanos
<[EMAIL PROTECTED]> wrote:
> Thank you Matt, I found that also but to be honest the person who built this
> server recently passed away. He was our php specialist and to be honest I
> have no clue on how to activ
> FATAL: emalloc() : Unable to allocate 1073741824 bytes
I found this at http://us4.php.net/odbc_exec
I kept getting FATAL: emalloc() errors when using select statements
via odbc for MS SQL.
I had no control over the DB as it is a commercial CRM system.
I found that by 1st issuing an SQL query
> Any feedback will be appreciated.
why reinvent the wheel?
take a look at:
http://pear.php.net/package/Html_quickform
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> What I want to do is to only show 20 pictures at a time with a "Next" link
> and a "Previous" link. For the first 20 only the "Next" link would show and
> whenever the last set would show only the "Previous" link would. Every other
> time both would show.
>
> Can someone point me in the right di
get rid of :
echo "
This is a
test".makepie(20,200)."
";
and only have this :
makepie(20,200);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> The Problem:
> I can't quite figure out how to take the results of the
> mysql_query() and assemble them into a string. In my experiments so far,
> I either get a "mysql_data_seek(): Offset 0 is invalid for MySQL result
> index" error, or my mail function sends to a blank address.
no gua
> I have a database that contains encrypted data using Mysql function
> ENCODE(). Certain users will be allowed to view this data and I will allow
> them to download a CSV file contain the decrypted data using the Mysql
> DECODE() function. However I don't want this file to be left on the server,
>
> Is there a way to use sessions variables in PHP shell script (without
> reading the session file and parse it in the script)?
Do you have a database available? You could put the session info in a database.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
> I am looking for interesting approaches to form submissions and error
> checking in the forms.
http://pear.php.net/package/HTML_QuickForm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
did you try this?
");
echo "$test";
# Returns a -1 if uncompression failed
function pdf2string($sourcefile)
{
$fp = fopen($sourcefile, 'rb');
$content = fread($fp, filesize($sourcefile));
fclose($fp);
# Locate all text hidden within the stream and endstream tags
$searchstart = 's
> For a project of a customer i need to know if a pdf file contains special
> functions and buttons.
>
> Is there a way to parse a PDF file in php?
you might be able to find something at
http://us3.php.net/pdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
> I need a really good primer for working with arrays in PHP and with MySQL. I
> can do what I need to do without them right now, but I would really like to
> get
> arrays figured out.
>
> Any have some good ones?
http://www.php.net/array
http://us4.php.net/mysql
--
PHP General Mailing List (
> $path = 'product_images';
> $handle = opendir($path);
> while (false !== ($file = readdir($handle)))
> {
> if ($file != "." && $file != "..")
> {
> echo $file;
> if (is_dir($file))
> {
> echo ' <-- folder';
>
201 - 300 of 1663 matches
Mail list logo