run some numbers on that.
> 3) it will give a warning when $var is not set (error_reporting 15
> only).
I run on the default error_reporting setting and it's never complained so far.
--Joe
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To uns
Didn't you just ask this a few days ago?
In your while loop put a sleep(300) which will sleep for 300 seconds after
processing X amount of emails.
--Joe
On Fri, Feb 22, 2002 at 02:53:10PM +0800, Arnold Gamboa wrote:
> hi there.
>
> is there a way to tell crontab to do:
>
&g
empty() fails when $var == 0
--Joe
On Sun, Feb 25, 2001 at 10:50:15AM -0800, Chris Adams wrote:
> On 25 Feb 2001 00:01:30 -0800, Mark Maggelet <[EMAIL PROTECTED]> wrote:
> >On Sat, 24 Feb 2001 17:51:07 +0100, Christian Reiniger
> >([EMAIL PROTECTED]) wrote:
> >>O
userID as the key char(15) (don't ask, it's an
old design made by a former employee) which has roughly 1.6 million rows in it.
We regularily do joins on it with other tables that have thousands of records
in less than .05 seconds.
This sounds like a table structure problem to me.
--J
way to move on to "advanced features" is to challenge
yourself and have a good understanding of programming concepts, UNIX, and the
various protocols you work with.
Just my $0.02
--Joe
On Tue, Feb 27, 2001 at 04:01:22PM -0700, Web master wrote:
> Hello Php Gurus,
>
> Need
Make the id field on the db entry unique - the second query will fail. You
should also be doing error checking on whether or not the record exists already.
--Joe
On Wed, Feb 28, 2001 at 12:15:38AM -0600, Fabian Fabela wrote:
> Hi,
>
> I have a page, and when I have to add a produc
Hi All,
Is there a way I can export the users in my Linux machine to a mysql
database. Together with their passwords without manually entering all of
them.
I will appreciate any input.
Thanks in advance,
Joe Njeru
Nairobi, Kenya.
"Where the sun shines all day!!"
--
PHP Gener
27; => 5,'Jun' => 6,
'Jul' => 7,'Aug' => 8,
'Sep' => 9,'Oct' => 10,
'Nov' => 11,'Dec' => 11);
$foo = explode(' ',$date);
$mont
om the above that libpq.so.2.1 is in /usr/lib.
Try adding this line to /etc/ld.so.conf:
/usr/lib
and the run "ldconfig".
Hope this helps,
Joe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
like zend cache? also, is there anywhere with stated benchmarks
that i can see to compare?
Thanks,
joe
--
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]
ould
> like something like:
>
> So, how do I insert a new record into the database, and get the oid of
> the record I just inserted?
>
See http://www.php.net/manual/en/function.pg-getlastoid.php
Hope this helps,
Joe
--
PHP General Mailing List (http://www.php.net/)
To
Aaron,
i would love to believe what you say.
But i couldn't find any buffering functions in the online docs.
Could you please gimme a pointer on where i can find these functions
and what's their name. Are they available in php3?
Thanks a lot,
Joe
-Ursprungliche Nachricht-
estroys it without setting
it.
--Joe
On Mon, Mar 12, 2001 at 01:08:37PM -0600, Fabio Ottolini (EDB) wrote:
> First File - index.php
>
> header("Pragma: no-cache");
> header("Cache-Control: no-cache, must-revalidate");
> if(empty($check)) {
> $page
Hi All,
I'm looking for a two way encryption function that I can use to encrypt a
cookie value. I have had experience with MD5 but its one way. Is there one I
can use with a key in php?
Thanks in advance,
Joe Njeru,
Nairobi Kenya.
"Where the women are beautiful"
--
PHP Gener
Aaron,
this is obviously exactly what i need!!
Thanks a lot - this saved me days of work!
Joe
-Ursprungliche Nachricht-
Von: Aaron Tuller [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 13. Marz 2001 05:41
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: [PHP] Cache Database
Read up on forcetype'ing on phpbuilder.com - it will do just what you want it
to do.
--Joe
On Wed, Mar 14, 2001 at 06:08:18PM +0800, Alex wrote:
> I just want every customer on my site get his own unique id as his directory
> name but the pages requested are all processed by the root
Hi,
I have a funny situation where i can't use apache
due Macromedia's ARIA software and lack of it's support
for apache. So, i'm stuck with using iPlanet. My question
is how stable,fast,usable is the PHP4 NSAPI support?
Thanks,
joe rice
Web Admin
www.bigidea.com
--
How can i include ASP scripts into PHP files or is it posible?
thanxz
-Joe
--
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]
>ASP scripts require an ASP interpreter. If you stick it in a PHP file,
PHP
> >will try to interpret the ASP code. PHP can't do that.
> >
> >
> >
> >--
> >Plutarck
> >Should be working on something...
> >...but forgot what it was.
> >
>
This is a wonderful IE "feature" - it just tries to open everything regardless
of the browser type. I'd be interested in any working workarounds for this.
I've even sent my own type headers ... all to no avail.
--Joe
On Mon, Apr 16, 2001 at 03:30:30PM -0700, Randy Johnson wr
just need to look at PHP's structure. It makes total sense when you think
about it. You can through arrays into cells in an array without any troubles.
I've had arrays go 4 and 5 deep before just because there was an array I needed
to put in a cell that related to that set of data.
to copy the cookie value to a local variable
each time it is used in a function.
--Joe
On Tue, Apr 17, 2001 at 06:36:45PM -0400, Pat Hanna wrote:
> I found out today after suffering from minor headaches and hair loss that if
> you have functions defined in and outside file name 'foo.ph
In MySQL you can do this:
$sql = "SHOW TABLES LIKE 'box%'";
$r = mysql_query($sql);
// then loop through the tables and populate
--Joe
On Tue, Apr 17, 2001 at 07:49:11PM -0400, Matt TrollBoy Wiseman wrote:
> How would I word a query to see what tables exist in a d
users ...
hope this helps ...
--Joe
On Tue, Apr 17, 2001 at 09:05:02PM -0300, Augusto Cesar Castoldi wrote:
> This question has not much with PHP, but I work with PHP...
>
> Can I get the data from a table in MySQL and copy/transfer all data to
> other database to a table with t
ht be able to do others ...
--Joe
On Mon, Apr 16, 2001 at 11:53:12PM -0700, Randy Johnson wrote:
> How do I get the last 10 rows in a table?
>
> thanks
>
> randy
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTEC
The 3rd argument for fwrite() is the length of the string. So you should do:
$fp = fopen('./file.txt','w');
$line = "$text\n";
fwrite($fp,$line,strlen($line));
fclose($fp);
--Joe
On Wed, Apr 18, 2001 at 01:38:11AM -0500, chris herring wrote:
> this is really bu
look into the substr() function in PHP
--Joe
On Tue, Apr 18, 2000 at 09:23:39PM +0200, Jorn van Eck wrote:
> Hi there,
>
> Does someone know how to display for example150 characters from a $ set by
> MySQL?
> --
> Jorn van Eck
> Student Information Engineering
> Almere
On your join instead of doing ID=ID do ID!=ID
--Joe
On Wed, Apr 18, 2001 at 09:55:05PM +0100, Simon Kimber wrote:
> Hi all,
>
> I have written a PHP/MySQL "top-sites" program. It has two tables,
> link_sites, which contains the details of all the sites signed up
>
I wrote an article for PHPBuilder.com - I would start there - I made it as easy as
possible.
--Joe
On Wed, Apr 18, 2001 at 04:58:28PM -0400, Mark Bean wrote:
> I have a valid XML file that all I want to do is assign to variables the
> data in the elements and . I know nothing about X
I just created a class that gets info resizes and stamps an image with
text. It's pretty simple, but works. If anyone wants it email me privately.
--Joe
On Wed, Apr 18, 2001 at 06:00:38PM -0400, Morgan Curley wrote:
> according to the docs use
> -geometry 175x175> picture.jpeg
&g
Again - if you have imagemagick installed email me and I'll email you my little
class that does this.
--Joe
On Thu, Apr 19, 2001 at 10:02:47AM +0200, De Bodemschat wrote:
> Hello,
>
> I'm creating a bunch of photogalleries and wondering about the following:
>
> - Is
$foo = `ls help*`;
$files = explode("\n",$foo);
while(list(,$fname) = each($files))
echo $fname."\n";
--Joe
On Thu, Apr 19, 2001 at 08:25:19AM -0400, [EMAIL PROTECTED] wrote:
> Hi,
>
> Does anyone know how I can list all the files begining with help in one of
I've heard a lot of people asking for info on imagemagick & php. I've created
a small class that resizes images, gets info, and stamps images. It's nothing
to call home to mom about, but it works.
http://www.miester.org/software/convert.php.asc
--Joe
/* Joe Stump
* Sr. PHP
ed* -- modify as required if you are
using MySQL or something else)
Hope this helps!
Joe
*
";
}
$levelpad = $levelpad . "";
If (! empty($parent))
{
$sql = "select id, name, parent from mytable where parent =$parent order
ord == 0)
{
print("No matches found.\n");
}
print("\n");
*
That's it -- it's actually pretty simple.
- Joe
--
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]
erent setting requirements. Or just "knowing" where to find the
damn thing.
-Joe
"Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Monday, April 23, 2001, 10:19:36 PM, you wrote:
> > It should be the
What is the software default path registry key???
I found it once before, when I wasn't looking. Now I'm looking I can't find
it.
"Marc Boeren" <[EMAIL PROTECTED]> wrote in message
7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER">news:7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER...
>
> >
can some one debug this script for me... it say's "Warning: Undefined
variable: total in PHP_poll.php on line 63"
thanxz alot!!!
http://www.ftls.org/php/ *
***/
// Necessary Variables:
$RESULT_FILE_NAME = "poll_dat
t the PST timestamp
to an EST timestamp. Are there any functions out ther that do this?
--Joe
Joe Stump <[EMAIL PROTECTED]>
One is taught by experience to put a premium on those
few people who can appreciate you for w
No you don't :)
http://www.domain1.com";>url1
http://www.domain2.com";>url2
http://www.domain3.com";>url3
http://www.domain4.com";>url4
--Joe
On Sun, Apr 22, 2001 at 04:18:51PM -0500, Jeff Oien wrote:
> You need to use style sheets:
> http://www.awlo
Thanks to everyone who sent in the info. The problem is as follows:
1.) the mktime()'s are stored as PST in the DB.
2.) we have users ALL OVER the world - is there a place to find all of the
timezones at?
--Joe
On Mon, Apr 30, 2001 at 12:11:55PM -0700, Mark Maggelet wrote:
> On Mon
> hey guys,
> alright, I am new to using php to interface with a database, right now I
> am trying to display just the primary keys for a table in my database, can
> someone point me in the right direction on how to use php to display this
> information?
Create a function to supply the info -- se
I've also been interested in knowing how this is done. If
you are willing to share, please post the source to your
page.
Thanks,
joe
bill([EMAIL PROTECTED])@Fri, May 11, 2001 at 09:07:26AM -0400:
> Not sure what you're asking exactly, but I have a "Find a Dealer" page w
...
--Joe
Joe Stump <[EMAIL PROTECTED]>
Life is cheap. It's the accessories that kill you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Works great - thanks!
--Joe
On Tue, May 15, 2001 at 11:51:35AM +1000, Jason Brooke wrote:
> > $SERVER_NAME only gives me foober.com (since that is the servername), but not
> > the alias someone typed in to get there ...
> >
> > --Joe
>
> Give HTTP_HOST a g
relay server. I
haven't tried it with PHP, but I've done something similar with tcl before.
You might try finding something like this already written.
-- Joe
--
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]
part about that is
that if you search for HI, if finds hi, it will highlight hi, not HI.
Enjoy.
-Joe
"Qartis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've got a search script, where you can search for a string and it will
php_value, php_flag, php_admin_value, php_admin_flag but
these are only for INI settings.
Thanks for any help before I attempt to modify mod_php ;)
Joe Webster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
preg_match("/]*)/i", $html, $args);
$body_props = $args[1];
preg is much faster/better than ereg.
note the /i at the end of the preg, that makes it case insative, drop the i
if you want it to be case sensative on the match.
-Joe
"John Monfort" <[EMAIL PROTECTED]&g
dork
"John Monfort" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Test: cannot send mail, but can read.
> Please ignore.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
that php in Windows and IIS reloads the ini
every time a page is requested?
>
> Charles Killmer
>
> -- Original Message ------
> From: "Joe Webster" <[EMAIL PROTECTED]>
> Date: Wed, 2 Jan 2002 15:46:32 -0500
>
> no
Chances are the error is showing up on the page, but is not visible. If
you view the source (HTML) from your browser, I bet you'll see the
error. Hope this helps,
Joe
Tamas Arpad wrote:
>
> > I'm having issues with my php pages. When I have errors, Instead of
> > cr
Uh no,
Php is completely server-side. Any kind of request will be built up,
processed, and sent out to be sent to the user. If the user has a slow
connection it will take longer to get that information, but PHP is done.
-Joe
"Charlesk" <[EMAIL PROTECTED]> wrote in message
$GLOBALS[ "HTTP_REFERER" ];
"Matthew Walker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Related to my last question about the cookies in images, is there any
way to get the referrer from the calling page without passing it as an
argument to the image genera
nd I'll say it again, preg is ~40x faster than
ereg/eregi and (IMO) better.
Enjoy,
Joe
"Richard Black" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> I'm writing a page which will allow user's to regis
at the mcrypt extension and use
3DES or one of the other symmetrical encryption algorithms.
HTH,
--Joe
--
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:
is anyone out there familiar with COM built into Php?
This is my code:
$sheet = Range("B6:B9")->Select;
$sheet->Selection->Borders(xlEdgeBottom);
$sheet->Selection->LineStyle = 9; //xlContinuous
$sheet->Selection->Weight = 2; //xlThin
I get an error everytime I use the Range method and some othe
This is what I am trying to do. I am trying to add a border to the bottom
edge of a cell. The Range and some other methods seem to not work with the
syntax that the VB editor in excel says. Like Range in the vb editor is
Range("A1:B9").Select. When I try this in php it gives me and error. I
title, "content"=>"",
"color"=>$color));
Is there any way to create indexes in arrays from variables?
- - Joe
[EMAIL PROTECTED]
aking of sessions is setting $uID = $HTTP_SESSION_VARS["uID"]
well before the switch statement. $HTTP_SESSION_VARS["uID"] gets set many pages
and other PHP scripts before and i just reuse it (as sessions were intended).
any help would be greatly appreciated.
thanks,
joe
--
How do i get rid of those words in my screen that are coming from you?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you were going to use javascript to do that, use _parent as the target --
that should reuse the window rather than making a new window.
-Joe
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Wednesday, Mar
RewriteRule ^([[:digit:]]+)(/*)$ /__obj.php\?id\=$1 [QSA]
We use this rule to rewrite
/1234
to become
__obj.php?id=1234
and pass and Query String Arguments (QSA) like ?foo=bar and so on.
-Joe
"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
($key,$val) = each($x)){
$my_keys .= $key
}
echo $my_keys;
should result in: (using $x from my code above)
1 (I think it might even come out as 01 -- but probally 1 since it will be
treated as a int maybe =) )
>
> Any help would greatly be appreciated,
>
> Charlie
>
>
Hope that helps, still not sure what your question was or if i answered it
;)
-Joe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
D)/","\\1,\\2",$digiword);
this ends up with $replace being 123,joe456
how can i also catch the joe456 to end up with
123,joe,456
any help would appreciated.
thanks,
joe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i can do this if i do it in two line..i'm wondering if it can
be done in 1 line.
the two lines:
$replace = preg_replace("/(\d)(\D)/","\\1,\\2",$digiword);
$replace = preg_replace("/(\D)(\d)/","\\1,\\2",$replace);
tia,
joe
Joe Rice([EMAIL PROT
look at. if you can tell me what's wrong i would REALLY
appreciate it
:)
thanks
joe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
EG but neither is
as fast as a straight out text search.
if you go the preg route you need to make sure you form your expression
correctly... but for words ... just | will do you fine.
-Joe
"Martin Kampherbeek" <[EMAIL PROTECTED]> wrote in message
006701c1cecb$806e9be0$[EMAIL
I wouldn't say you NEED a full url, it should handle relative URL's as well.
I don't know if it's part of the specification, but it will work.
As far as your problem I hope that line break isn't in the string and it's
just there because of the email.
-Joe
"Ja
It only works in IE -- it makes use of the 'Full Screen' (F11) option and
tricks IE into doing so... hope you don't want it to work in NS, Opera... or
anything else
=)
-Joe
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Using the options parameter will allow you to get rid of toolbarts and
scrollbars, but NOT the window's border, which the question was asking.
-Joe
"Bvr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> The 3rd parame
x27;$pass';";
$result = mssql_query( $query, $link );
if(!mssql_num_rows( $result )){
die( "Username/Password no good" );
}
else{
die( "Everything is okay!" );
}
like i said, i think all the mysql functions in php have a mssql equiv. --
like mssql_num_rows
. How would I
accomplish this in PHP? Can I incorporate Javascript into my PHP code? If
so, how?
Any help would be appreciated!
Thanks!
Joe Keilholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Folks
I can write to txt files, no problem!
What is the easiest way to get my end user to upload images, is there a
method to generate an online form that can handle the input of txt and
images so that the images will get uploaded and then automatically
linked to a template???
Hope someone c
they didn't click
through).
Make sure to put a LARGE notice on your signup form explaining exactly how to
activate their account.
Hope this helps - it's worked great for me in the past.
--Joe
On Fri, Nov 16, 2001 at 06:02:38PM -0500, Vincent Stoessel wrote:
> I am helping a client
your system (sometimes isn't installed).
It's part of the Image Magik utility pack.
--Joe
On Fri, Nov 16, 2001 at 11:16:57PM +, cosmin laslau wrote:
> I've got a website which will alllow users to upload photos (jpegs) and,
> once approved, they'll be up for display
if(!eregi("\.jpg$",$image) || !eregi("\.jpeg$",$image))
die("ERROR: doesn't appear to be a JPeg image!");
--Joe
On Fri, Nov 16, 2001 at 09:45:07PM -0500, jtjohnston wrote:
> OK kids, I'm not 19 ... my old brain gets tired easily and my wife is
&
This would be the logical way to do it (as I see it):
define('MY','pre_');
$a = "dog";
$new_var = MY.$a;
$$new_var and $pre_dog are the same :)
--Joe
On Fri, Nov 16, 2001 at 09:47:12PM -0500, Jeff Lewis wrote:
> I've a question regarding variable varia
Here is an example of number format:
--Joe
On Sat, Nov 17, 2001 at 01:45:16PM -0800, Paul Wolstenholme wrote:
> You can do this using the number_format function or probably sprintf.
> /Paul
>
> On Saturday, November 17, 2001, at 01:36 PM, Scott Dudley wrote:
>
> >
>
This is what you'll want to do:
0 0 * * * /path/to/mysqldump -u[username] -p[username] [database] > /path/to/backup.sql
Put that above in your crontab (you might want to tar/gzip it too if it's big)
then download it via cron to your local box.
You could also look into rsync.
You may want to do something like this instead:
--Joe
On Sun, Nov 18, 2001 at 04:21:46PM -0500, David Bernier wrote:
> There is this array which I would like to convert into a series variables using the
>extract function:
>
> $oz = array(
> "lion" => "c
An easy way to fix this common problem is this:
define('BASE_INCLUDE_PATH','/var/www/includes/');
include(BASE_INCLUDE_PATH.'my_include.inc');
Just make sure to include the file with the BASE_INCLUDE_PATH define using a
relative path ... ie.
--Joe
On Sat, No
unixODBC because I didn't
think libiodbc should even be getting loaded. Regardless, does anyone
have a fix? Thanks,
Joe
--
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
r how to change my ODBC library? Thanks,
joe
Joe Koenig wrote:
>
> I had previously attempted to get the Openlink ODBC drivers work with
> iodbc and PHP. I was having no luck and turned to easysoft's solution,
> which includes unixODBC. I re-configured PHP (removing the config.
Is there another way to compare the values of 2 strings other than strcmp().
This function is not consistent with its results and is causing so many
headaches. I am somewhat new to Php so any help is appreciated. Thanks
__
Joseph D. Mainolfi Jr
onfigure script is looking for $INFORMIXDIR/bin/esql
which isn't installed by IConnect either.
Thanks,
joe rice
Web Admin
www.bigidea.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
p would
be greatly appreciated.
Thanks,
joe
Chris Fry([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 09:45:14AM +1100:
> For SCO I had to download the ESQL package separately - I think you have to do the
> same (if it's available).
>
> Chris
>
> Joe Rice wrote:
>
> > Hi,
What ended up working for me is;
LD_RUN_PATH=$INFORMIXDIR/lib
then i recompiled php and when i started apache everything
seemed to work. I didn't go the LD_LIBRARY_PATH way
because of http://www.visi.com/~barr/ldpath.html titled
"Why LD_LIBRARY_PATH is bad"
Thanks for all the
If you have the "Bonus Software" pack that came with Solaris8, there
is a CD call "Companion". That CD has everything you need form the
GNU world. Loads of GNU solaris packages.
joe
Emiliano Marmonti([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 02:43:25PM -0600:
> Thank you
how do you sent a Environment Variables for the php script
to execute in? i need to set INFORMIXSERVER so i can
use the informix php functions. This is going live tomorrow
and we don't have it working yet...PLEASE HELP!
thanks,
joe rice
Web Admin
www.bigidea.com
--
PHP General Ma
i figured it out...thanks.
putenv()
Joe Rice([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 03:16:35PM -0600:
>
>
> how do you sent a Environment Variables for the php script
> to execute in? i need to set INFORMIXSERVER so i can
> use the informix php functions. This is going live
There is a timeout, that should halt a script if it runs too long. If you
can, check
php.ini
set max_execution_time to something greater than 30 seconds, see if that
helps.
""Brooks, Ken"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I thought maybe the php
this
requires MHash as well as MCrypt, but you could substitute the built in MD5
function for SHA1.
Hope this helps,
Joe
--
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]
Sure - use md5()
--Joe
On Sat, Mar 24, 2001 at 12:05:49PM -0500, Randy Johnson wrote:
> Is there an easy way to create random numbers and letters for a file example
>
>
> http://www.mydomain.com/1w2e3rff.txt
>
> and then after they download it have it be dele
if($formSubmit) {
echo "form submitted: $frmName"; //<= have you tried this to make sure
$formSubmit is true?
$newsSubmit = file("news.txt"); //RTM, your not using file() the way it's
inteneded.
$fp = fopen("news.txt", 'a'); //looks good
fwrite($fp, $frmName); //looks good, but does $frmNam
nals
Error executing link.exe.
Please enlighten me.
Thanks,
-Joe
--
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]
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)
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
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
you need ar.
my solaris 8 install has it in /usr/ccs/bin
if you have it there, make sure /usr/ccs/bin is in your PATH.
if you need to know what package ar is part of let me know.
joe
Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300:
>
> Dear Friends:
>
>
nobody has execute permission on ps?
Probably quite the opposite, your webserver user doesn't have execute
permission on ps, so there is no execution or return value.
"Steven Shepherd" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am writing a script, actu
201 - 300 of 741 matches
Mail list logo