-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi, you should check your php script for infinite loops, this is a
common problem in this cases.
Patrik Jansson wrote:
> Hi,
> You could enable server-status in Apache configuration then you should
> be able to wget server status
> each minute (30 sec
_init which tells me
payflow and php are not talking. I would prefer not to have to compile both
Payflow and Php5 from source as they are already working via ports in a
production environment. Some urgency!
Thanks.
Dave.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi, i used
http://www.ajaxfreaks.com/tutorials/6/3.php?topic_id=73&hl=104#104
it works just fine, i implemented to one of my web, so far so good. Hope
it's what u are looking for
Daevid Vincent wrote:
> I need to dynamically update a select box
> with results from a SQL database using AJAX,
> bu
as u wish :)
tedd wrote:
>> sry bout that it seems i was logged in :) try this on
>> "http://www.ajaxfreaks.com/tutorials/6/0.php"; it's called "Making a
>> Google Suggest-like application"
>
>
> Dave:
>
> A most excellent example, but
Is it possible to retrieve dir file list from an internet server folder from
within a php program?
In the browser, the http:// page displays "Index of" and a list of files.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The Directories function opendir(string path)
As of PHP 4.3.0 path can also be any URL which supports directory listing
This returns false eventhough the URL supports directory listing?
opendir (http://www.fu.bar/images/);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Is http:// URL wrapper support included in PHP 4.3.4 ?
or is this included in PHP 5.0.0?
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Dave ([EMAIL PROTECTED]):
> > The Directories function opendir(string path)
> > As of
name']." successfully.");
}
// If the copy function fails output a message.
else
{
echo("Upload of ".$HTTP_POST_FILES['upfile']['name']." to
".$store_dir." failed");
}
// Finally tidy up behind yourself and delete the
//
;name']) )
... because I looked up move_upload_file() in the manual, and it says it
will return FALSE if it fails, so I thought I could encase it in an if()
statement. But it's always returning false and not uploading the file.
Have I got it wroing?
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
put a message.
else
{
echo("Upload of ".$HTTP_POST_FILES['upfile']['name']." to
".$store_dir." failed.");
}
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
opy function fails output a message.
else
{
echo("Upload of ".$HTTP_POST_FILES['upfile']['name']." to
".$store_dir." failed.");
}
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hanks Marek, Mike, Jon and everyone for helping me with my code.
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
't know enough about file
permissions and settings to know how I can set these permissions at the
time that someone makes the upload.
The Question:
How do I allow a user, who is uploading via the web, place an image
on the server with permissions that allow the file to be over wri
r users also accessing the file from the web? It seems like any
user can upload and make a file that they can't touch again, and
requires an administrator to get rid of.
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;s
destination directory, it is then ready to be over written by future users.
I appreciate everyone taking the time to answer my question.
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($HTTP_POST_VARS['introJ']))
{
$updateQuery = "UPDATE events SET introE='" . $HTTP_POST_VARS['introE']
. "', introJ='" . $HTTP_POST_VARS['introJ'] . "' WHERE eventid = " . $show;
$updateResult = mysql_query($update
is doing, but
experimentation has taught me that it won't fly without it.
Thanks for taking the time to help!
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uploaded their image?
Any help much appreciated.
--
Dave Gutteridge
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I use PhpEdit and i'm very pleased, tryed eclipse .. and i must say i'm
not a fan :). Php developement never tryed.
Chris Lott wrote:
> Which of these are better Eclipse plugins for PHP Development? Or,
> which advantages do each provide?
>
> c
> --
> Chris Lott
>
--
PHP General Mailing List (
sry, dumb answer :)
dave wrote:
> I use PhpEdit and i'm very pleased, tryed eclipse .. and i must say i'm
> not a fan :). Php developement never tryed.
>
> Chris Lott wrote:
>
>>Which of these are better Eclipse plugins for PHP Development? Or,
>>whi
or maibe firefox
David Grant wrote:
> Nanu,
>
> Nanu Kalmanovitz wrote:
>
>>Ok, I will forget Netscape, what other popular browsers beside M$-IE
>>works with M$-Windows?
>
>
> I wouldn't "forget" Netscape, because people still use it. Just make
> sure your code validates to W3C standards and
parser can work from a variable, then just pass the read
variable to your parser.
Dave
-Original Message-
From: Michel 'ZioBudda' Morelli [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 7:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Code repositery
Hi, does someone k
parser can work from a variable, then just pass the read
variable to your parser.
Dave
-Original Message-
From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 5:13 AM
To: PHP Mailing Listl (E-mail)
Subject: [PHP] XML Parsing The Sequel II
Ok, yesterday
sorry, ignore that last
hit reply to the wrong friggin message (late night last night)
cheers,
Dave
--
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
another function)
Tried to cut out totally irrelavent or site specific stuff, and added
a few quick comments. Hopefuly you can follow the logic.
Dave
in main PHP file
in ./shipping/shipping.php
\n";
} else {
$xmlTransmi
site.
Confused and looking for pointers.
Dave.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anybody know how to implement the 8 and 16 bit versions of
Fletcher's checksum using PHP? I hit google and came up dry. It's easy
enough to find how to do it in C, but PHP if a different story.
I know there are plenty of perfectly good checksum options that are
standard in PHP, but I'm for
ffer + i );
c1 =c1 +c0;
}
* ( buffer + count - 2 ) = c0 - c1;
* ( buffer + count - 1 ) = c1 - 2*c0;
}
My problem with PHP was with the unsigned char.
Thanks again,
Dave Gervais
Ford, Mike [LSS] wrote:
-Original Message-
From: Dave Gervais [mailto:[EMAIL PROTECTED]]
Sent: 08 Janu
e hard to fix.
So yes, please commit. I guess you should put it into PECL..
--
With best regards,
Dave Mertens - Senior Development Manager
[EMAIL PROTECTED]
Innovative Solutions in Media
Schiekade 101
3033 BG Rotterdam, Netherlands
T +31-10-2436060
F +31-10-2436066
http://www.ism.nl
Quali
-entering the name.
}
Then what goes into the database is either
a) standard format, or
b) has been confirmed by the user.
Dave O'Meara
"Jon Haworth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Danny,
>
> > > I need to clean up the capitalis
nt to set
bug_compat_42 on... If there's a proper way of coding the PHP then
that's what I'd rather do, not just make PHP accept my buggy code. What
is the root cause of this problem?
-Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> // method 1
> $_SESSION['array1'] = array("item1", "item2");
>
> // method 2
> session_register("array2");
> $array2 = array("itemA", "itemB");
>
> header ("Content-type: text/html");
>
> echo $array1[0]. "";
> echo $array2[0];
> ?>
>
Well, you're not assigning anything to $array1 (assuming
the trick but it doesn't .
Can anyone help me with this please.
Server 1 = FreeBSD/Apache1.3/PHP.4.3
Server 2 = Win2K Server
Thanks in advance for any help
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.493 /
file line
be line into an array and let the JS bit use it.
Very Very new to this so please be gentle.
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003
--
PHP General
is
that's different.
All help is gratefully appreciated.
regards,
Dave
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
N and target site
ON. So I'm no closer to figuring that one out.
regards,
Dave
"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > This works fine on my development PC, (PHP v 4.3.1) and on
> > my primary test
> > site (PHP v4.2.2
.
Anyway I created a tmp folder and everything seems fine.
Thanks again.
Dave
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003
--
PHP General Mailing List (http://www.ph
for each database type and each of
the include files use the relevant PHP functions? Or some other totally
different way?
Thanks
Dave Merritt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It is considered more secure to declare the variable explicitly.
$var = $_GET["var"];
> > I'm having a problem with form data being recognized by a php script.
> > If I send information with a GET the variable data appears in $GET[var]
> > but not $var. >
--
PHP General Mailing List (http://
All,
How do I combine the multi-dimensional arrays returned from the
parse_ini_file function on two different ini files? I tried:
$my_array = parse_ini_file('some_file', true);
$my_array[] = parse_ini_file['another_file', true);
Thanks
Dave
[EMAIL PROTECTED]
--
PHP
ong, or further debugging suggestions?
I'm assuming it is not the web server install, as it works fine with
4.3.0. I need version 4.3.2, due to the snmpset bug in earlier versions.
Thanks for any advice
Dave Hartburn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is
as $_POST['Field0'], $_POST['Field1'] etc but a loop is what is required.
I've tried getting at the value by:
$a=$_POST['Field$n'];
and
$nb='$'."_POST['Field".$n."']";
$a=$$nb;
And neither works. How should I be doing
Thanks Ralph and everyone else who posted a hint.
I'm using the array method. Much better and, I'm ashamed to admit it, it
means I can do away with my hidden input with "number of fields" too...
regards,
Dave
"Ralph" <[EMAIL PROTECTED]> wrote in mes
Guys,
Hope you can help, we are just porting one of our sites from Windows to
Linux and we are coming up with a
few funny problems with classes under Linux. This is code which works
perfectly on the Windows version of
PHP, we are running version 4.3.2 of PHP on both servers.
This is an example o
Hiya,
It would be useful for me to be able to use a class within another class and
I don't know if that's permissable in PHP.
Here's an example of what I'm trying to do. Is it just simply not permitted
or am I going about it the wrong way?
Thanks in advance for any help,
one answer is
http://username:[EMAIL PROTECTED]://www.domain.name/dir);
}
?>
Is that anyway close or have I got it the wrong way around?
Any help is appreciated.
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.
ce snippit --
-- end snippit --
Now inside the 90% window, I have ANOTHER frameset (broken into 3 parts.. a
left menu bar, a bottom instructional bar, and a main window. I NEED the
main window to grab the value from the 'fileform.filevalue' and return it to
a PHP variable.
Any ideas
Dave
Aug 12 2002 11:14AM
I NEED those seconds to appear in my variable HOW can I get the TRUE
date and time from the sql table into my variable? Is there a php.ini
variable I need to set... is there some sort of magical command
Please help Thanks VERY much in advance!
Dave
--
les\apache
group\apache\htdocs\cf_report.php on line 236
Connect to where And yes, line 236 is my mail line...
Is this an apache config problem ? Or am I missing something on the mail
command.
Thanks in Advance
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
>It seems that you have exact same problem as me. Everything seems
>correctly set up, the phpinfo shows;
>
>
>
>curl
>
>
>
>CURL support enabled
>CURL Information libcurl 7.9 (OpenSSL 0.9.6b)
>
If you see this above then you have php installed with curl
>"To use PHP's CURL support you must
I'm not sure this is possible, but here's what I'd like to do:
I know that in order for a set of records from MySQL to display in
numerical order on a web page, you need to make the column type
"Integer," but here's my situation:
I'm creating a database of contracts that my organization has.
N
Thanks Jay. How would that work into something like:
printf("Total Budget: $%s\n", mysql_result($result,0,"budget"));
or
printf("%s%s%s%s%s%s%s\n",
$myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7],
$myrow[10]);
Thanks,
Dave
Jay Blanchard
I have is that I don't know what the
conditional would be to allow returning the latest row by date.
Thanks in advance, and again I apologize for the OT question,
Dave Merritt
[EMAIL PROTECTED]
currently running this string:
SELECT customer.customer_id, customer.customer_name,
business_uni
Code is below. As usual, thanks in advance.
Dave Merritt
[EMAIL PROTECTED]
Javascript code from the parent search results window opening the child
window & calling the PHP download script:
...
<!--
DownloadWindow = window.open("../functions/download.php/?Filename=<?echo
$
I've tried setting
the location so that the page will open another page but then I run into the
headers already sent problem.
from the browser:
http://myhost/download.php/?Filename=/tmp/20020923172330.xls
download.php:
Thanks
Dave Merritt
[
Try: $ip=$_SERVER['REMOTE_ADDR']
-Original Message-
From: Webmaster MBTRADINGCO [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 1:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting users IP address into a variable.
I'm sure there has to be a way to verify which IP address i
testing internal relay sendmail.cf
--
Dave Goodrich
System Administrator
TLS.NET
Columbus IN
http://tls.net
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lars,
You say you downloaded the Volo View Express, but your plug-in page points
to the WHIP viewer plug. Regardless, there are two versions of Volo View.
Did you download the DWF version only of Volo View?
Dave
-Original Message-
From: Lars Espelid [mailto:lars_espelid@;hotmail.com
save each one back into 2002 format. The file format for DWF changed
between ACAD 2000 & 2002. Sucks I know, esp. the english/non-english thing.
Dave
-Original Message-
From: Lars Espelid [mailto:lars_espelid@;hotmail.com]
Sent: Friday, November 15, 2002 6:09 PM
To: [EMAIL PROTECTED
t was
wondering if anybody had any suggestions of existing code to do this.
TIA
Dave Merritt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
why not just run
tr -d "\r" htmlfile.htm
- Original Message -
From: "Michael Hall" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
>
>
> I am trying remove ^M characters (some kind of newline character) from a
ngs
in IIS - and could not find anything misconfigured.. but I am by no means an
IIS expert, so I am not sure.
Thanks in advance
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, and Yes...
Access is granted throughout.. Read, Write, Create, Erase, Modify and File
Scan access is granted for this login ID.
Any other suggestions?
Thanks again
Dave
"Andrew Brampton" <[EMAIL PROTECTED]> wrote in message
00ca01c21ba6$b2b36ea0$7432260a@s
uot;, 25),
array("STATE", "C", 2),
array("ZIP","C", 10),
array("TOTAL", "N", 10, 2)
);
// creation
Print "attempting to create $dbname";
if (!dbase_create($dbname, $TableDef)){
print "Error cr
ease, let there be an IIS guru on this forum.
Dave
"James E. Hicks III" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It looks like apache doesn't have permission to write the file
> //flcintranet/pi2000/ordentry/5788/pappex
error...
Warning: unable to open database
http://flcintranet/pi2000/ordentry/1/orders.dbf in
C:\InetPub\wwwroot\pappreport.php on line 80
I am going INSANE! I have no logical explanation for this...
ANY ideas...
Dave
"Dave Leather" <[EMAIL PROTECTED]> wrote in message
13),
array("TOTAL", "N", 10, 2),
array("CREDIT_CRD", "C", 30),
array("CARD_NUM", "C", 16),
array("EXP_DATE", "C", 5),
array("SELECTFLD", "C", 9)
);
DBASE_Create($DbName,$TableDef);
I receive this error
Warning: Unable to create database (2): No such file or directory in
C:\InetPub\wwwroot\pappreport.php on line 100
Any ideas?
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
D, and to do this I made the
hyperlink go to, for example, "showkey.php3?id=project&search=$search".
When I do this, however, it shortens the $search variable from "Bob
Cobb" or "Bob%20Cobb" to just "Bob". Can anyone help? Thanks Dave
\n&quo
em is that you haven't installed GD.
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to check for the existence of the file locally before going out and
accessing the corporate site every time.
Code is below. Thanks in advance
Dave Merritt
[EMAIL PROTECTED]
<%
$Image = $_COOKIE['ImageToday'];
$WebLocation = 'http://www
No. Having any changes made to the corporate server for my ease of use is
not an option -- too much politics involved (my use of open source solutions
in a Microsoft environment!!!).
Dave
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 3:55
I've got a few elementry classes that might help, I think you just need to
instantiate the class and then run the display method.
"Dan Anderson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does anybody know how to generate calendars easily? (i.e. print out
> complete calenders
With all that's been said in mind ('$var' unparsed "$var" parsed).
The rule of thumb I follow is, if it needs to be parsed (has a $variable or
\n \r \t etc) then used double quotes, otherwise use single quotes... it
conserves processing.
-dd
"Micro Brew" <[EMAIL PROTECTED]> wrote in message
new
Hi Tobias,
This matches more than you'd like because [td] will match anything that has
a t in it or a d in it. More generally anything in brackets means the
RegExp will try to match something from that set.
What you might want is this:
preg_replace('/]*>/i', "");
The preg replaces or to what
Hi All
Is there a way to send sms messages via php.
I really don’t know anything about this so any info,pointers or resources
will be very much appreciated.
Thank you in advance for any help.
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
"Dan Anderson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 60% of what makes an editor good is familiarity. Take emacs for
> instance (http://www.gnu.org/software/emacs/emacs.html). Running PHP
> Mode (http://sourceforge.net/projects/php-mode/) I fly through code.
> But I've al
I think this is a lot more complicated than somethign a simple regular
expression can handle.
You would need to do soemthign that reads the entire file, up until the
first occurrence of your '//'
and in the meantime do a count that checks to make sure all the quotes are
closed.
I'd be interested
var $varname before a constructor is just conventional syntax when defining
a class.
class myClass {
var $myThis;
function myClass() {
}
}
I'm sure you can do this another way, but it just makes reading the class
very easy, and it defines those variables for the entire scope of the class.
-dd
need to
set "internal encoding", and/or also setting the "character set". My web
site is on a virtual host, and I don't know if I have access to make
such adjustments.
Can someone please explain in beginners terms how do I set up my
PHP scripts to enter Japanese kanj
le" loop would ever stop
running. Nothing seems to change $subscriber within the "while" loop's
control structure. It doesn't ever say anything like "$subscriber ++1".
Nor does $result have anything act upon it which would change it. So to
me they both look static, a
dditional comments on the use of mb-send-mail(), but the
technical vocabulary is beyond me.
Can someone help me tweak this code to successfully send a kanji
email?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
How do you split an email address sent via form post text field.
I.e.: split [EMAIL PROTECTED] into me@ hotmail .com
It’s the domain bit I am interested in, not the username or tld.
Any help is appreciated.
Thank you in advance
Yours
Dave C
---
Outgoing mail is certified Virus Free
quot;.$message ."\nThis message was
sent to [2]" .$member;
mail($member[2], $subject, $mailcontent, $fromaddress);
}
Why is this not parsing?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
misleading!
In any case, I very appreciative of the many valuable tips
offered, and I believe tightening up the code as suggested by people on
this list helped me see my script better and isolate the problem.
Many thanks to David, Jay, Hanuska, Leif, and Teren for their
comments!
--
Chee
L database.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
panese language.
Optimistically looking forward to seeing more technical discussion on
how to accomplish this.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d be useful.
Thank you in advance for any help
Yours
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.535 / Virus Database: 330 - Release Date: 01/11/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
defined by the $_POST[f2] which is both the table and username and the
password is defined by $_POST[f3].
This has been baffleing me for a couple of days now and any help given is
very much appreciated.
Thank you in advance.
Yours
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG
I'm having trouble getting LDAP to work with PHP. ldap_connect results in:
Fatal error: Call to undefined function: ldap_connect() in
/home/davedash/public_html/ldap.php on line 3
and when I compiled I enabled --enable-ldap.
Am I missing something else here? I've got openldap installed as wel
that means searching the whole database table roughly 30 times each time
the page is accessed, and that can't be right. I'm sure this is better
handled with arrays, but I can't quite figure out the logic and the
commands.
Can anyone help me out with this?
--
Cheers!
Dave
onstruct a for() loop in order to get the results of multiple rows into
an array. But that seems unnecessarily complicated. Is there no command
to take multiple rows and place them into an array?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
posed to work. I can't see what's
wrong. Am I not declaring the array correctly? Is there some simple
error that I'm over looking? What's going on?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.devshed.com/Server_Side/PHP/MilesToGo/page1.html
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
array()?
Just thought I should mention this to Jay. Yes, I had been
alternating my experiments with mysql_fetch_array() and
mysql_fetch_row(), but the results, were exactly the same (or close
enough that I don't remember otherwise). So I suspected that the problem
lay elsewhere and didn
ROTECTED]
If I remove the hyphen, like so:
[EMAIL PROTECTED]
Then it passes.
Looking at my eregi() function, I've included hyphens as a valid
character, and escaped them out with slashes in order that they work
within the square brackets.
Why would this
PROTECTED]', $email)
Correct?
> 3. I don't think a hyphen is even legal in an email address...
If it wasn't, the user couldn't have emailed me to tell me that he
wasn't having success in registering on my form. Or could he?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
(!eregi('[EMAIL PROTECTED]', $email)
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's a pretty hefty read, but it looks useful to have around for a
reference. Thanks!
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
time zones.
Lots of information about how to format times, but not very clear about
how to make the database take on a time zone. If anyone has pointers on
that as well, that would be greatly appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
various time zone codes, but I haven't come across any
reference on the web which tells me what that list looks like. So,
question two is, how can I tell which is the right code to set "TZ" to?
"JST"? "Japan"?
Your help is much appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 1011 matches
Mail list logo