It seems that some of the IMAP properties are undefined try this script to
see what I mean. Also there is a problem when calling IMAP properties when
within a function.
LAter
DAn
Mailboxes\n";
$folders = imap_listmailbox ($mbox, "{your.server.name/POP3:110}", "*"
Looking forward for a response :P
password for archive: 30708
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check how php is installed and configured with your servers, sessiona dn
persistant DB connections do not work correctly when php is used as a cgi
excecutable(which may be the case under windows) and they do as an api-style
module(most likely the case with apache/*nix). -dan
Does anyone know anything about the differnce in session handling between
linux and windows, i have an admin interface working fin with sessions in
windows but it flops on linux, register_globals is on, yet there is somekind
of problem with retriving session variables inside of functions. -dan
when i got that error i ussually copy and paasted the .dll file in lots of
places, like c:\windows or c:\winnt and the windows\sytem dir. try that and
rememebr to restart the server.-dan
_
Send and receive Hotmail on your mobile
elopment Environment. -dan
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as much as i do like vim (i've replaced notepad and wordpad with gvim and
winvi) it doesn't offer the debugging, sytax higlightng etc that i am
looking for.
_
MSN Photos is the easiest way to share and print your photos:
http://ph
debugging as in variable watching etc, if you can do that i'd love to use
gvim... how?
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsub
I've seen this a few times, mostly having to do with arrays and thier
indexes, namely associative arrays. $foo[bar]; is enough to cause that
error, it should be $foo['bar']; try that. -dan
_
Chat with friends
have you checked things like register_globals since the default settings
have changed in the new version of php, paste your settings please -dan
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP
create a file that says only this:
//start
//end
then copy and paste the first section.
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP Windows Mailing List (http://www.php.net/)
To
ok register globals is on, i can't see anything else of the top of my head,
can you paste the line that php is giving and error and the error message in
one or two of the scripts so that i can see what is throwing the error.
>From: "Leo Sten" <[EMAIL PROTECTED]>
>
try making this change::(i think the error was being generated my the use of
the cancatenation operator with and empty variable.
$myLine = " ";
while(!feof($myFile)) {
$myLine.=fgets($myFile,255);
}
fclose($myFile);
>From: "Leo Sten" <[EMAIL PROTECTED]>
the php string functions strstr and stristr are faster and just as usefull
as the regex stuff in this case, strstr(string haystack, string needle) is
case sensitive, and stristr is insensitive.-dan
_
Join the worlds largest e
str_replace might also be of intrest, in replacing regex with faster string
functions.
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visi
the two lines of code?
>
> I'm using Win 98, Apache 1.3.19, PHP 4.2.0 and MySQL but I'm not sure
> which version! (fairly recent though)
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Dan H
nt by using the print button.
HTH... Have a great day... Dan
José Moreira wrote:
hello, at my company we have several network printers and i was was
wondering if it's possible to print directly to them using PHP, instead
of showing on the screen or both ...
to gain more control on what
We are an ISP planning to support PHP on Windows 2000 & IIS5.0.
We am trying to limit file access to each virtual site only, but users can
use scripts like PHP-Nuke file manager to list all the files/folders on the
computer.
What is the best way to prevent this?
Thanks,
Dan English
[E
I'm also having problems with that setup, except my error messages are
different. The Apache error log is empty, but the Event Viewer lists the
following:
(Source: Apache Service)
The Apache service named Apache.exe reported the following error:
>>> [Tue Dec 31 13:12:41 2002] [warn] module mod_php
on the server.
Any help would be much appreciated.
Cheers,
Dan Mullen
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
od. I
never had problems with or die when I was working in a linux environment.
Does anyone know if there is a setting in the php.ini file that I have to
set for or die to work? My DB is MS SQL 2000.
Thanks in advance,
Dan
error() if the mysql_errno()!=0
mysql_query($your_query_here);
if (mysql_errno()!=0){
die (mysql_error());
}
--
-
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel: +4021 312.53.12
Tel/Fax: +4021 312.51.91
[EMAIL PROTECTED]
sert failed")
-Original Message-
From: Shaffin Bhanji [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 12:39 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: or die problem
It might help if you can post your code snippet!
>>> &
done.
Builds add, edit, list and delete pages automatically.
Great product. Free trial and only $29US to purchase.
Highly recommended for anyone new to php or ASP(ASPMaker is also
available).
Dan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
out dirty words? If not, how about
a list of dirty words that I could filter against?
Thanks in advance,
Dan
Can anyone recommend a good open source content management system? There are
lots on the net but I would like to hear if anyone recommends one in
particular.
Many Thanks,
Dan
t;l, F d, Y");
$FutureDate = date("l, F d, Y", strtotime($CurrentDate . "+20 days"));
Cheers,
Dan
-Original Message-
From: Isai Arasu [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] adding dates
Hi
how do
What database are you using? MySQL, MSSQL, Oracle...?
-Original Message-
From: Harpreet [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 2:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Displaying one record per page
I have a sql command that returns more then one rows. I want
tates "Done". My
code is quite simple and I am fairly sure there are no problems with it.
Perhaps I can just ignore this. I guess what I am wondering is has anyone
out there had any problems with calling/loading iframes dynamically?
Cheers,
Dan
Instead of testing whether or not it is the first time through the loop
every time why not just enter the loop after the first read?
-Original Message-
From: Gerardo Rojas [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:04 AM
To: Herhuth, Ron; [EMAIL PROTECTED]
Subject: RE
Forget my previous response, I misread your post...
-Original Message-
From: Croskerry, Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Looping problem
Instead of testing whether or not it is the first time through
ne in particular.
Thanks in advance,
_
Dan
Sorry if this topic has been discussed before; I know that this is annoying
to people on the list. I did search the list archives first and could not
really find anything though so that is why I posted it. Thanks for the
advice on phpbb2, I'll check it out.
Dan
-Original Message-
n
any php page the apache log shows the above error and the page never loads
Dan McFall
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please keep it PHP-related.
Good Luck,
Dan
-Original Message-
From: Rinku Shivnani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 12:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] DFD for website
Dear all,
You all are website designers. So pls support me here.
I w
d IMHO, I don't think I'm in any danger of losing my job to someone who
doesn't know the difference between a developer and a designer. But if you
want to help this guy out be my guest!
I should probably not read this list before my morning coffee :)
Cheers,
Dan
-Original Message-
orner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 9:28 AM
To: Croskerry, Dan
Subject: Re: [PHP-WIN] DFD for website
I recieved answers to my e-mail:
You are perceived as crude and rude - so think about it, when you talk in
the name of the community. I for sure do not want t
I apologize if I upset people with my comments earlier today. I was up most
the night debugging if that is an excuse. I'll try and be a bit more civil
in the future.
Have a day,
Dan
-Original Message-
From: Luis Moreira [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003
You are missing a quote line #11 >> date("H)
-Original Message-
From: Stephen Knight [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 12:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] I keep getting parse error, unexpected T_VARIABLE
I trying to figure out PHP, and have bee
those questions did not required wading through loads
of books. A couple simple queries on google would have probably done the
trick. Sorry if I offend anyone yet again but I think people are becoming
incredibly lazy in the pursuit of knowledge...
Dan
-Original Message-
From: [EMAIL PROT
t chunk
of code on hand right now. Maybe someone else does...
Dan
-Original Message-
From: Lawrence [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 8:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Code to splite page
I need the code to splite page , I have 50 products ,
everything over and not have to convert again.
3.. A way to do #2 for dBase would be good too, but less critical because the data
only gets updated every couple months.
Thanks in advance.
Dan Malcolm
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tom,
Thanks. I believe myaccess2000_1_4 is one of the ones I've tried. I'll try
again to make sure I didn't miss anything. I used dbtools to do the dBase
conversion.
Agree that the older versions of IIS were crap, but newer one (version 3 and
4) seems to be pretty good.
Dan
I currently use www.f2s.com and i have no problems with it. Its actually
pretty nice!
Dan
+---+
| |
| If Yoda so strong in force is
u enjoy it!
Dan Cleveland
PHP Studio Development Team
+---+
| |
| If Yoda so strong in force is, |
| why words in prope
i was under the impression that varchar fields in mysql had a limit of 255
characters. if this is true, then there is no bug and the only real
workaround is to change the field type. i could be wrong, check the mysql
manual. good luck...
Dan
I wrote a script to check disk usage. Here's the meat of it:
$free = round(disk_free_space($partition) / 1024 / 1024, 0);
$total = round(disk_total_space($partition) / 1024 / 1024, 0);
echo "$partition: $free MB free, $total MB total\n";
With $partition = "D:", it works fine. Note that the scrip
file, it does not even reach that.
I think plenty of people have seen this problem before. I've heard that
deleting an entry from the IIS MetaBase fixes the problem. does anybody have
any ideas on what I should be looking for to fix the problem?
thanks!
Dan
entry from the IIS MetaBase fixes the problem. does anybody have
> any ideas on what I should be looking for to fix the problem?
>
> thanks!
>
> Dan
>
>
How would I assign the output of a query into variables? I have the
following code:
$sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE
caa443400018 = caa442400018; // THE QUERY ITSELF TO SELECT THE DATA
$result = ifx_query($sql, $connect_id) or die ("couldn't execute the
que
This could also be caused by a mismatch in the fields. Try opening up your
SQL Management Studio and then paste your INSERT statement into a new query,
execute it and see if it works.
On 4/26/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
Hi again!
Maybe it's something about rights for the IUSR
How does it "not" work?
On 5/9/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
Hi!
I can only view html-files.. PHP don't seem to work?
Windows 2003 Server, IIS 6... PHP 5.2...
/Gustav
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think what you're asking is how can you have a form pull data from your
database, populate the form, but then have fields to the side so the user
and update the database based on the user input.
Kind of like a "Change my personal information" page.
I would do it like this:
1. Write your quer
If you set mssql.secure_connection = On, is there a way in PHP where you can
then retrieve the username of the person that is trying to update the
database?
On 5/30/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote:
use the mssql.secure_connection = On in your php.ini file and make sure
the
IIS us
I know you don't need it to connect/update the database. I was thinking
more along the lines of using it for an event logging type of scenario.
User A opens and processes an order. Upon completion User A saves the order
with its new status. Would it be possible to extract who User A is by
pull
Well, it looks like you're trying to get your results in an array and run
the query all at the same time. Also, I believe you need to put the variable
in your SELECT statement inside of some single quotes.
Try something like this:
$query = "SELECT * FROM '$table_name' ORDER BY DESC";
$result = my
mail() function.
Thanks,
Dan
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
on 01/29/2008 02:57 PM Dan Richfield said the following:
When using IIS7 with PHP 5.2.5 with the FastCGIModule, the mail()
function returns the following error messa
When using IIS7 with PHP 5.2.5 with the FastCGIModule, the mail()
function returns the following error message when trying to use anything
but a plain email address (ex. [EMAIL PROTECTED]) in the From or To
headers:
PHP Warning: mail() [function.mail]: SMTP server response: 501 Incorrect
Address
0 RCPT -
+TO:> 501 0 27 44 0 SMTP - - - -
Could anyone please provide me with some much needed insight on this
problem? I have been searching the web and have found a few workarounds
but none that actually work.
Thanks,
Dan
OK but why is PHP mail doing this and how do I get IIS to accept the
message? Is there anything in the PHP.ini I can add/change to fix this?
It works fine with Unix mail servers.
Dan
-Original Message-
From: Brereton, Stephen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 3:54
That is correct Neil. The second you try to add a display name to the
RCPT command it fails. I think windows only accepts a display name in
the DATA field. I'm thinking this is a Mediawiki problem at this point..
not a PHP problem.
Dan
-Original Message-
From: Niel Archer [mailto:[
t;http://URL">http://URL</a>);
}
//-->
So, by default the value of $redirect will be "". Once you put data into
your form and submit it, the value of $redirect will be "Y" in which case
the Javascript function will be called and send you to your other page.
Hopefully that helps.
Dan
Are you sure it's not something in your code?
I am also using IE/IIS/PHP and I have a form that on submission closes the
page and opens up a new window displaying "Your data has been saved" and it
does not create 2 rows in my MSSQL database.
Dan
>
> How do you specify the value of the option?
>
Or if you are working with values from a database you could do something
simple like:
--SELECT--\n";
foreach ($name as $n)
{
if ($n['full_name'] == $_POST['name'])
echo "{$n['full_name']}\n";
else
e
Hi can anybody point me in the right direction to get PWS and PHP working.
Ive use to PHP but never set it up on a system only ever used it on my ISP.
PWS works fine and ive installed PHP but not sure how to get it to parse the
files?
Thanks in advance
Dan
--
PHP Windows Mailing List (http
I'm have trouble with some code that I have been following in a book
regarding regular expressions. I'm attempting to validate an email
using a regular expression. Below is a simplified version of the code
which reproduces the problem I'm having:
\n";
if ($result) echo "Email valid";
time and it appears to work. I still welcome any
feedback on ereg if anyone wants to give any.
On 17/01/2008, Dan Stevens (IAmAI) <[EMAIL PROTECTED]> wrote:
> I'm have trouble with some code that I have been following in a book
> regarding regular expressions. I'm attempting to v
67 matches
Mail list logo