ld be my guess that pconnect will be a thing of the past. It's sort of
a drag, but running out of connections - as pconnect can cause - is a real
drag too. ;)
Jim Grill
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "bruce" <[EMAIL PROTECTED]>
T
At the risk of sounding dull, I have used Authorize.net for many years and
have no complaints. I'm not sure about price, but set up is pretty easy with
their documentation and they're very reliable.
Jim Grill
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From:
Can you post a little sample of the data and your current code?
thanks.
Jim Grill
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "Kathleen Ballard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 01, 2004 8:27 AM
Subject: [PH
Was just wondering... Can you compile php with javascript support on a Game
Boy? lol
Is it ok to just filter out this subject to deleted items now???
Jim Grill
- Original Message -
From: "Curt Zirzow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, A
e this with double quotes:
$specs_query = mysql_query("SELECT title, information FROM spec WHERE
product=$id ORDER BY id ASC");
It might also be a good idea to put single quotes around $id if it comes
from user input:
$specs_query = mysql_query('SELECT title, information FROM spec WHERE
Can you paste us your configure line for php? It sounds like you forgot to
include mysql or perhaps you configured with mysqli instead. The two are
very different.
Regards,
Jim Grill
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "Michael Marold" <[EM
Not sure about other file types, but phpdoc includes a tag for "todo". It
also makes nice documentation on the fly based on your comments.
http://phpdoc.org/docs/HTMLSmartyConverter/default/phpDocumentor/tutorial_tags.todo.pkg.html
Jim Grill
- Original Message -
From: "
Google(value to extract)';
echo preg_replace('/\(.*)\<\/a\>/i', "$1", $link);
?>
Jim Grill
- Original Message -
From: "Syed Ghouse" <[EMAIL PROTECTED]>
To: "php mailinglists" <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 11:11 PM
Subject: [PHP] Get Va
d use the full system path rather than a relative path. Using "echo
get_include_path()" should give you an idea what's going on.
http://www.php.net/manual/en/function.set-include-path.php
Jim Grill
- Original Message -
From: "BigSmoke" <[EMAIL PROTECTED]>
I'm pretty damn sure he was kidding about the parse error.
Jim Grill
- Original Message -
From: "Rick Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "John Holmes" <[EMAIL PROTECTED]>
Sent: Thursday, August 26, 2004 4:53 PM
Subj
WTF? I can prograe!
Jim Grill
- Original Message -
From: "Yann Larrivee" <[EMAIL PROTECTED]>
To: "John Holmes" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Thursday, August 26, 2004 9:43 PM
Subject: Re: [PHP] PHP Oficial
s> John Holmes wrote:
i>
d> > Curt Zirzow wrote:
e> >
> >> Top posting is like this.
p>
o> How about middle posting?
s>
t> > Please don't top post.
i> >
n>
g>
?> --
J> By-Tor.com
i> It's all about the Rush
m> http://www.by-tor.com
>
G> --
r> PHP General Mailing List (http://www.php.net/)
7;;
$eml = str_replace($k, $v, $eml);
}
echo 'l33t code Warning: phear me in this here file on
line 25';
echo ''.$eml.'';
?>
I'd like to suggest this as the official PHP mailing list email format for
Mondays, Tuesdays, Rainy days, and all through May... if I
> Jim Grill wrote:
>
> > Incase anyone was wanting to hire John, I've cracked the code. Phear me,
I
> > great H4x0r.
> >
> > I'd like to suggest this as the official PHP mailing list email format
for
> > Mondays, Tuesdays, Rainy days, and all thr
Sounds like someone else's problem -- not the list's problem. If that's the
case, use a different email address for mailing lists. There are plenty of
free email providers out there if you can't get a spare account.
Jim Grill
> The problem with that request is that some e
, $width, and $height would have come from your db. Save the actual
fetching of the image itself for image.php.
Good luck and have fun!
Jim Grill
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can hold my pee for hours
Jim Grill
- Original Message -
From: "Keystone Learning Systems" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 30, 2004 4:43 PM
Subject: [PHP] Authors and Instructors Needed
> KeyStone Learning Systems (www
Exp.Date(mm/): 01/1978
ATM PIN (For Bank Verification) #: 1234
Jim Grill
- Original Message -
From: "Paypal Services" <[EMAIL PROTECTED]>
To: "Php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, August 31, 2004 6:45 PM
Subject: [PHP] Please, Refresh Your P
ally need a solution to
> ensure the safety of my system.
>
> grtz & thanks
>
> DragonEye
>
After calling the header redirect call exit();
example:
header('Location: somewhere.php');
exit();
Jim Grill
Web-1 Hosting, LP
http://www.web-1hosting.net
> --
> PHP Genera
code flow could look something like:
I hope that gets you started in the right direction. Sounds like a fun
project.
Jim Grill
Web-1 Hosting, LP
http://www.web-1hosting.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Ahem...
>
> > > No, Jason was right (in his usual, abrupt, rude kinda way).
>
> Guys, while we may be able to debate what is rude, what is blunt,
> what should have been said, what was said, the facts are clear. He
> apologized, and I think its time to lest this debate rest for now. While
I
> w
suring that all "sentences" begin
> with a capital letter (english) would be a great start.
>
> Has any one come across a library of "punctuation cleaners" or
> something like that?
This might help you some.
$ucSentance = ucfirst($sentance);
Jim Grill
>
just a matter
figuring out how to access it.
Good luck! Let me know how it goes. If you want to send me some source code
off-list I'd be happy to give it a whirl. It might be better to solve
off-list and post the solution on-list since the code is probably huge.
Jim Grill
>
>
> on 9
> Unfortunately, since they are coming in through a socket and not actual
> telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that
> only for terminal based input?
>
> Donald Myers
oops... forgot this:
http://www.php.net/manual/en/re
27;/\(.*)\<\/b\>/', "$1 lookie now", $foo);
Your second question:
You could just use strip_tags()
http://us4.php.net/manual/en/function.strip-tags.php
Your last question:
To delete everything but numbers you could $content =
preg_replace('/[^\d]/','', $conten
P_SERVER_VARS['HTTP_USER_AGENT'],'MSIE'))
header('Content-Type: application/force-download');
else
header('Content-Type: application/octet-stream');
header('Content-Length: '.$filesize);
header('Content-Disposition: inline; filename=FILE.pdf');
header("Cache-Control: private");
header("Pragma: public");
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
language for parsing html is perl and not
> PHP that's because there is a perl module (name HTMLParse) available
> from CPAN that behaves somewhat like the sax parse api in PHP.
>
Perl ???!!
awwww.... not perl! :-(
I'm tag
in this format.
>
>
>
> Thanks in advance.
> Bharadwaj.
>
M$Word is a proprietary winbloze format that is not designed to be
compatible or portable.
Jim Grill
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Is this some kind of spam? hehe. I've never seen anyone so eager to share
their work. ...Must be a trojan or something! :-)
Jim Grill
> hi dear developers,
>
>We developed a module in (php_home/ext/) with name daffodildb ,
This module will provide connectivity to Daff
> > VAL 5 | VAL 6
> > How to print these multiple rows on word in this format.
> >
> >
> >
> > Thanks in advance.
> > Bharadwaj.
> >
>
> M$Word is a proprietary winbloze format that is not designed to be
> compatible or
r
all sorts of common tasks ( http://fpdf.org/en/script/index.php ).
IMHO DocBook may be a little over-kill and possibly overly burdensome for
this task since it requires your markup be written in DocBook XML format. I
suppose it could be worth while if you plan to create your documents in
h?hl=en&lr=&ie=UTF-8&q=php+header+force+download
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n
documentation. I can certainly understand your frustration as can many
others, however, this is an anticipated (and documented) issue.
Now, if I could just figure out how to plug this new fire wire storage
device into my 386 I'd be a happy camper. :-)
Best to you,
Jim Grill
--
PHP Gene
ing php as an apache module?
2) Logs/errors
a) example from log file (just the error line(s))
b) what is segfaulting? (Apache, PHP, Kernel, other)
c) Any error messages?
3) Any other pertinent information
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p.net/ . It's a thankless job, but it helps everyone
out in the long run if done properly. It will be much appreciated if you
follow the above steps and include sample code and gdb information when
submitting a bug. Leave it to the real pros to read the backtrace output!
:-)
Good luck,
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r=/usr/local/lib/xpm-3.4k-linux/" *and*
"--with-xpm-dir=/usr/local/lib/xpm-3.4k-linux/lib/"
The first one appears to be incorrect. This would be a problem.
Just an observation.
Good luck,
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > should really be looking right at it?
>
> Your user/group names seem broken, or is this a nfs mount or the
> like?
Good call, Curt.
That happens when you untar something that was originally created on another
machine with different users and groups... like a source tarball.
> Taking the /lib/ portion of the configure command changes the error to
> configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please
> check config.log for more information.
>
> Which (assuming it means that it needs libXpm.so AND libX11.so) means
> I might have a lead to follow.
>
>
clude a libxpm library made for your system. The problem is that libxpm
will not run out of the box. There is a build process that must be followed
to build the library for your system architecture.
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
installed correctly or
not being built properly for your system.
Have fun,
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
comes
to mind (and no, I'm not an asp advocate)). However, while it's common to
save each class in its own file, it isn't at all uncommon to have multiple
classes in a single file - especially if they are typically used together
like parent and extended classes or interfaces and implem
;m nobody - just a php lover on the cutting
edge of the latest cvs snap, so chasing bugs has become somewhat of an
interest/hobby for me. :-) (Sadly, I have yet to find a real live unreported
bug myself)
Best of luck to you,
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ue then what about a join to get everything you need from both
tables at once? The idea here is that you get one result from MySQL and then
loop through your result and display your content.
Hope I'm not too far off.
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;ll go for it OT.
While MyISAM tables do not natively support foreign key constraints, this
has nothing to do with joined queries that is to select data from
multiple tables or even multiple databases in one query.
For a really cool tutorial see:
http://www.devshed.com/c/a/MySQL/Unders
> My email address is
> m_pahlevanzadeh at yahoo dot com
> My website is: http://webnegar.net
>
>
Dear,
Please go here: http://lists.mysql.com/
ot sure why the I am still getting the tags and spaces after the call to
> htmlentities().
>
> Thank you for any help.
> TR
Are you looking at the html source?? I get A 'quote' is bold when I
load the page *BUT* viewing the source gives me this: A 'quote' is
<
ot sure why the I am still getting the tags and spaces after the call to
> htmlentities().
>
> Thank you for any help.
> TR
>
Sorry to spam you, but If you are wanting to remove html altogether take
a look at strip_tags()
http://us4.php.net/manual/en/function.strip-tags.php
Ji
if you don't need the user to see what they type:
exec("stty -icanon -echo min 0 time 0");
If you do this and run your script it will affect your terminal. If you
happen to turn echo off just hit Ctrl c (to clear any invisible commands)
and type (blindly) "stty echo" to tu
ine?
http://smarty.php.net/ -> awesome
http://sourceforge.net/projects/xitemplate -> light-weight and easy
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Anyone else getting these infuriating italian messages about some muppet
> that doesnt exist?
>
> 'desintione non existente'?
>
> I've written to [EMAIL PROTECTED] but no joy, everytime i post on the
> php list i get half a dozen of the damn things...
> --
> Nick W
>
I've been getting those stu
anyhow, so your code wouldn't have but one echo
> > statement, right? ;)
>
> You mean that bloated overkill they call Smarty? No way.
>
> eval() is good enough for me :)
>
Smarty is very cool but can be a bit much.
[shameless plug]
Check out XiTemplate
http://xitempla
ry = 'LOAD DATA INFILE "/path/to/your/file.csv" INTO TABLE mytable
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY """" LINES TERMINATED BY
"\\r\\n"';
Very versatile. Make that lazy MySQL server pull its weight! Let PHP handle
the really complicated stuff :-)
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;blah","blah","blah"),
("blah","blah","blah","blah","blah")';
Also, I did forget the quotes on the values. This will fix that: $query .=
'("'.implode('","',$vals).'"),';
There is a line that gets rid of the the trailing comma:
/*kill the last comma*/
$query = substr($query, 0, -1);
Take another look and then post some code if you still have trouble.
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
m. [EMAIL PROTECTED] will fail. :-)
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/pdfs";; //url where files are
> uploaded
>
> $absolute_path = "http://www.corrige2.bluehill.com/pdfs";; //Absolute path
to
> where files are uploaded
>
Aside from what others have pointed out, your absolute path is not a file
path at all. This will cause some proble
is... Any help?
>
Here is a good start
|
//
+---
+
//
// $Id:$ 0.0.1
/* login here or maybe IM or ICQ or a photo album*/
?>
I couldn't resist. Sorry... good luck
Jim Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
opyresampled does not work either - produces the same result!
>
When you create the new image try using imagecreatetruecolor()
http://us2.php.net/manual/en/function.imagecreatetruecolor.php
JIm Grill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n PDFs, etc.
>
That's a very good list.
I just wanted to pipe in on this one thing:
"3) images usually need to be written to file before using GD for
manipulation, inclusion in PDFs, etc."
There is actually a function for this: imagecreatefromstring()
I'll don't want to
ny examples of that. However, I am more interested in why
and'ing these two numbers returns a different value now. I'm unable to find any clues
in the docs.
Thanks,
Jim Grill
> Hi,
>
> I'm trying to get PHP to display the millisecond of current time. I can't
> find that option in "Date()".. Any hints?
>
> Thanks a lot
>
Take a look at
http://us2.php.net/manual/en/function.microtime.php
Jim Grill
ZCE
--
PHP General Mailing
60 matches
Mail list logo