hierarchies and no
contacts.
is it possible to get the contacts via ldap (which objectclasses?)? or are
there other solutions (mapi?)?
thx sven.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
does a var $_GET['rider_name'] exist?
maybe registe_globals is turned off in php.ini?
ciao.
"Stephen Rivas Jr" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> I have read and re read all of the webmonkey Installation of Apache/PHP4
and
> finally got the phpinfo() function worki
maybe a regular expression does it for you?
$str ="[code=vb]";
preg_match("/\[code=([a-z]+)\]/", $str, $reg);
echo $reg[1];
i assumed that your value is only lower alpha and at least one char, can
simlpy be modified.
ciao SVEN.
"Jeremy Whitlock" <[EMAIL PROTEC
download try playing with the http header. the user can decide,
where to save your file. there are also scripts around.
hope this helps.
ciao SVEN
"Stephen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> PHP is server side only. This means it can only effect t
nice workaround ;-)
but how about this:
save your rtf-file and use it as a "template" with unique "place-holders"
(e.g. your rtf-part %yourUniqueDateField% next rtf-part). use preg-replace()
and replace your "place-holders" with your content. save your copy or
x27;s_UID']
- and you used a var $s_UserInfo that you didn't define before, add
$s_UserInfo = 0 or $s_UserInfo = "" or similar.
ciao SVEN
"James Stanley" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hello,
>
> I just installed
ROTECTED]"\n";
$message = "some message";
if (mail($to, $subject, $message, $header))
{
echo "message sent";
}
else
{
echo "error, not sent";
}
but if you have problems with $_POST, maybe some code (your form and your script)
could help.
ciao SVEN
your vars you want to send to your next page are stored in these arrays.
so if you POSTed a form with $name and $email use $_POST['name'] or
$HTTP_POST_VARS['email'] in your script instead of the awaited $name and
$email.
ciao SVEN
"Felipe Lorente" <[EMAIL P
do you have some code?
"Ildiko Nyari" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hello
Parse error: parse error, unexpected '<' in C:\Program Files\Apache
Group\Apache2\htdocs\advanced3.php on line 129
what's this?
I always get this error when I want to display the php file
tions or functions do not
correspond correctly?
do you use an editor with syntax-highlighting? than the problem should be
found soon. if not, send some lines of code before line 129.
ciao SVEN
"Alejandro C. Garrammone" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTEC
what about the escaped doublequotes?
should be \" not /" (backslash, not slash).
ciao SVEN
"Mark Clarkstone" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> this
>
> Parse error: parse error, unexpected T_LNUMBER in
> c:\www\apache\ht
$Address1;
>
>
> City
> $City;
>
>
> State
> $State;
>
>
> Zip
> $Zip;
>
>
> Telephone
> $HTele;
>
>
>
>>
>
>
>
>
>
hi stuart,
try this:
move php.ini to \winnt
leave php4ts.dll and php4apache2.dll in \winnt\system32
in httpd.conf
change the loadmodule line to:
LoadModule php4_module /PATH_TO/php/sapi/php4apache2.dll
(note the apache2!)
and tell me if this worked for you.
ciao SVEN
Stuart Felenstein wrote
;
did you define your user and password? afaik win ad isn't searchable by
anonymous.
ciao SVEN
> echo "Connected and ready to bind...";
> if (!($res = @ldap_bind($ldap, $dn2, $password))) {
> print(ldap_error($ldap) . "");
> die ("Could not bind the
functions in a file and include it in your script. or you can use classes
and define all your methods for this class. i would start collecting all the
functions of my scripts (what should it do) and from there i would see,
what's best.
ciao SVEN
Dean Hayes wrote:
> Hey,
>
> Well i am a
hi donald,
don't know if it works, but can you copy the .dll to winnt/system32 and
restart apache?
ciao SVEN
Donald Tyler wrote:
> Hi Everyone,
>
>
>
> I posted this on the PHP install list but didn't get a reply. I hope
> you guys/gals can be more helpful.
>
>
&
okay, there is nothing in the manual with the date in 20 days. but this
could help you. ;-)
$tomorrow = mktime(0, 0, 0, date("m"), date("d")+1, date("Y"));
Isai Arasu wrote:
> Hi
>
> how do I add dates???
>
> for example,
>
> if the date from database is thursday, feb 12, 1996
> and i want to know
bar
> Bar bAR bAr"...
>
> I guess I would need regular expressions? Right?
hi,
this should work.
$barString = preg_replace('/foo/i', 'bar', $fooString);
if you only want to match 'foo' but not foofoo, you have to use '/\Wfoo\W/i'
ciao SVEN
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;, you have to
enable this extension in your php.ini:
extension=php_pdf.dll
ciao SVEN
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y('main' => "main.html", 'middle' =>
"AdminScreen.html", ...
main.php (line 2)
be sure, that $link is defined before your switch (i.e. if (isset($link))
...)
ciao SVEN
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alejandro C. Garrammone wrote:
> Someone know how to find a debugger program for PHP?...because it's
> hard to debug with the Notepad.
hi alejandro,
if you need a text-editor with syntax-highlighting for php:
http://www.chami.com/html-kit/
http://www.phpide.de/
hth SVEN
--
hi,
good luck in parsing .doc-files!
but if you try your page-break, save the file and view it in a hex-editor,
your page-break is in fact 'x0E'. and hexdec('0E') gives you 14.
hth SVEN
Gerardo Rojas wrote:
> Yes, holding down the ALT key and using the numeric keypad and t
I tried to have a look at "socket_last_error" before reading
but that does not help since it says: 0. "socket_select" lets
loose upon the killing of the client, putting the socket into
the "read" array. So I have to look at it...
Any hints on how I get around this?
Thank
Hi,
is the real name of your table test_tabel as in the
code sample or test_table as in the text ?
Sven Schnitzke
-Ursprüngliche Nachricht-
Von:Rodrigo San Martin [SMTP:[EMAIL PROTECTED]]
Gesendet am:Sonntag, 13. Oktober 2002 09:33
An: [EMAIL PROTECTED]
Betreff
For a slim editor you might want to take a look at http://www.winsyntax.com
Sven
> -Ursprüngliche Nachricht-
> Von: Mgr. Brian Kabela [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Montag, 4. November 2002 02:37
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] PHP Editor
.2 and 4.3 SAPI, CGI and CLI. All this is strictly for dev
purpose
and possibly invalid under security restrictions ( namely ..\ as a folder
spec in safe mode).
Sven
> -Ursprüngliche Nachricht-
> Von: Maxim Maletsky [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 7. Nov
Hi,
I found David Fischer's step-by-step instructions at http://www.faqts.com/ for
installing PWS and PHP on my local machine to be very helpful. However, I'm getting
the following error when I try to access .php files:
[403.1 Forbidden: Execute Access Forbidden: This error can be caused if yo
rhaps even
after some "successful" calls. Examples can be found at M$
Knowledge Base.
Sven
>
> Thank you, could you help me about compiling the extension into php? I
> haven't found a site with useful info.
>
> Thanx again.
>
> LI. Omar Campos
same folder as PHP.EXE. And
keep a perfect track of the correct "extension_dir" for every PHP version.
Otherwise very very strange things happen because Windows jumps into the
DLLs right through the wall. Its not like the new registered versioned COM stuff of M$.
--
Sven
> -Urspr
t unwanted hint: Changing lots of data usually means a lot
of writing to display: com_set(ex, "ScreenUpdating", false) before
any such task makes excel hurry up a lot.
Hope this helps,
Cheers,
--
Sven Schnitzke
> -Ursprüngliche Nachricht-
> Von: Chris Kranz [SMTP:[EMAI
nt, and as far as I am asked with as
little judgement as possible.
Cheer up and be confident in the judgement of the
respectively responsible. There are aspects to consider
unmentioned and irrelevant w/resp to this NG. So I'd
suggest to keep cool.
Cheers,
--
Sven Schnitzke (another self-empl
Hi,
specify "SMTP" as just the part after the @ in the mail address, e.g vt4.net
in your case. Then it should work.
Cheers,
--
Sven
> -Ursprüngliche Nachricht-
> Von: Per Christian [SMTP:[EMAIL PROTECTED]
> Gesendet am: Samstag, 22. Februar 2003 14:59
>
with your other PHP binaries or did you fetch them later?
And please take a look at the complaints of PHP at startup. Most likely
there are some.
Good luck
--
Sven
> -Ursprüngliche Nachricht-
> Von: Anthony Ritter [SMTP:[EMAIL PROTECTED]
> Gesendet am: Samstag, 1. März 2003 0
want_to_drop_your_mail_at")
just before calling mail();
--
Sven
> -Ursprüngliche Nachricht-
> Von: Jason Hawkins [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 6. März 2003 03:07
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] Mail Function Problem
>
>
ll is used
by IDEs to show the interface to the user so (s)he can
learn the possibilities (Object browser or similar).
--
Sven
> -Ursprüngliche Nachricht-
> Von: Mark Hammond [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 6. März 2003 15:13
> An: [EMAIL PROTECTED]
way though.
Cheers
--
Sven
> -Ursprüngliche Nachricht-
> Von: Mark Hammond [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 6. März 2003 16:19
> An: [EMAIL PROTECTED]
> Betreff: RE: [PHP-WIN] com_load_typelib()
>
> I need to load the typelib for the bookmark
software for you.
--
Sven
> -Ursprüngliche Nachricht-
> Von: Geoff Ogilvy [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 13. März 2003 21:10
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] Sending mail on Windows 98
>
> Summary : do I have an MTA ?
>
>
Take a look at line 17; most likely there is a ';' missing to indicate the
end of the previous statement.
--
Sven
> -Ursprüngliche Nachricht-
> Von: P.Bijl [SMTP:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 25. März 2003 01:20
> An: [EMAIL PROTECTED]
> Betr
o the cent) or tell PHP to
use 14,133.00
See setlocale() and localeconv() and related in the docs.
--
Sven
> -Ursprüngliche Nachricht-
> Von: Herhuth, Ron [SMTP:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 25. März 2003 15:46
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN]
nt of + in filenames has been changed
with PHP 4.3. Since then a+b.txt is one filename, quoted or not.
--
Sven Schnitzke
> -Ursprüngliche Nachricht-
> Von: mmy [SMTP:[EMAIL PROTECTED]
> Gesendet am: Sonntag, 30. März 2003 11:30
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WI
uild.
CMDLINE reads: plus.php \"a+b.txt\"
So to solve your problem you should settle for filenames without a plus
sign in it. It's bad with *nix anyway. If you lack that option take a modern
version of PHP, quote the filenames and pray.
--
Sven Schnitzke
> -Ursprüngliche Nachrich
are not yet reachable.
If writing true XLS files is essential though, one can say
it is possible.
If you are interested, drop me a note and I will mail you a
script reading and writing XLS files.
--
Sven
> -Ursprüngliche Nachricht-
> Von: Chris and Trish Kaelin [SMTP:[EMAIL PRO
object to expose various things, namely cell ranges.
If COM is essential for any reason I can send you an
example script reading and writing excel spreadsheet
data.
Regards,
--
Sven
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donne
eferenced at all. You have
to ask PHP to do
$a = any_constant;
so it can form a value of the constant and then set $a to
reference it.
Hope this helps
--
Sven
> -Ursprüngliche Nachricht-
> Von: Peter Misun [SMTP:[EMAIL PROTECTED]
> Gesendet am: Freitag, 6. Juni 2003 11:23
, "", ... and issues the complaint you see.
Good programming practice just always has the first occurrence of
a variable to the left hand side of an assignment, so to have an
_explicitly_ defined start value.
Hope this helps...
--
Sven
> -Ursprüngliche Nachricht-
> Von:
yes it is. Search order for PHP.INI is
a) current dir
b) WINDIR
c) C:\PHP4
Where current dir is the folder PHP*.EXE is residing when
executing in CLI and CGI modes and the folder containing
the webserver when in ISAPI mode.
--
Sven
> -Ursprüngliche Nachricht-
> Von: =?ISO-88
one I should get.
Btw: a call to php_SAPI_name() gives "apache".
Thanks in advance
--
Sven
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that is the folder PHP.EXE is residing in, but in
ISAPI/module mode this is the folder containing the web server
(Apache, IIS, PWS, what ever).
Next it is searched for in %WINDIR% (of whatever name, C.\WINDOWS,
D:\WINNT, ...), last in c:\PHP4 (this REALLY is hard coded).
--
Sven
> -Urspr
tle = $_POST['title'];
if (trim($title) == '') {
// handle error: title is mandatory
}
else {
// do whatever is needed with title
}
}
...
might do the job.
--
Sven
> -Ursprüngliche Nachricht-
> Von: jh [SMTP:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 9. J
e the converters over the internet. This
question can and
must be suppressed once in manually processing a convesion by checking "don't ask
again" or else
word will hang while automatically opening the HTML file.
c) Ron, of course you can set any font spec using COM: a mac
using COM set error_reporting to
E_ALL and activate logging; check the logs because most of COMs
complaints (Wrong usage of COM objects) are just classified as warnings
by PHP. You only get an error if COM itself fails which is very much
unlikely as WIN itself is heavily relying on it.
Happy ha
s_file($file)) {
// here comes the action; I spit out a handle, you may open, read end
extract
print("" . $file . "");
}
}
}
closedir($dir_handle);
}
}
?>
--
Sven Schnitzke
> -Ursprüngliche Nachricht-
Take a peek into the manual, section "using PHP" keyword
"register_globals" and consider the fact that the default ini
setting has been changed from "on" to "off" starting with
PHP 4.2.0 .
Regards,
--
Sven
> -Ursprüngliche Nachricht-
> V
with some explaining text files.
--
Sven
> -Ursprüngliche Nachricht-
> Von: Kimberly Tully [SMTP:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 9. Dezember 2003 11:20
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] cUrl
>
> Hello,
>
> I am trying to
.
HTH
--
Sven
> -Ursprüngliche Nachricht-
> Von: Svensson, B.A.T. (HKG) [SMTP:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 16. Dezember 2003 09:35
> An: 'Frank M. Kromann '
> Cc: ''[EMAIL PROTECTED]' '
> Betreff: RE: [PHP-WIN] Inc
Cesar, Luis,
as a non-native english speaking member of this list
I would greatly appreciate to have the foreign languages
spoken here at the count of one.
Besides ... spanish orthography seems a bit off-topic to me.
Please don't take this as an offence,
Sven
> -Ursprüngliche N
uding dir) to the fopen.
Besides: in a case where you know the filename in advance you might
leave out the directory search completely, thus saving a lot of execution
time.
HTH
--
Sven
> -Ursprüngliche Nachricht-
> Von: Idur [SMTP:[EMAIL PROTECTED]
> Gesendet am: Dienstag,
Apart from that, talking to a web server is just opening a socket and talking to that
socket in HTTP style.
Googling HTTP and RPC brings up the ideas about automation over HTTP, basis
of some APIs around (some stock quote feeds work this way too, e.g. yahoo).
HTH
Sven
> -Ursprüngliche N
to think about what exactly you want to achieve
_yourself_ before you start reasoning about the other's
motivations.
Happy arguments,
--
Sven
> -Ursprüngliche Nachricht-
> Von: Manuel Lemos [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 19. Februar 2004 01:00
> A
Hi,
> You can start certain programms at the client side using COM. But
> (unfortunately ?) only when using PHP on windows webservers. Programm should
> be installed at client side off course
... certain programs ... what do you have in mind ?
--
Sven
> -Ursprünglic
oes the trick locally, then setting up DCOM on DCOM client (web server) and DCOM
server
(web client) and migrate the VB script to PHP.
HTH
--
Sven
> -Ursprüngliche Nachricht-
> Von: Winnesoup [SMTP:[EMAIL PROTECTED]
> Gesendet am: Montag, 8. März 2004 00:08
> An: [
t;
dialog of Excel.
With Excel 8 there seems to be a glitch as it returns localized
colour names and does not accept english ones (At least my German
version behaves this way; didn't scrutinize too deeply though).
If you are interested I will send you a basic PHP COM script
doing EXCEL I/O to
// com.autoregister_typelib = true
// As of PHP-4.3.2:
// ini_set('com.autoregister_typelib', true); does NOT work !!
// if you use register_typelib() you will get orphaned excel instances hanging around!
... but others had different experiences ...
HTH
--
Sven
> -Ursprüngliche Nachricht-
&
exist similar limitations.
Good luck!
--
Sven
> -Ursprüngliche Nachricht-
> Von: Dale Attree [SMTP:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 6. Oktober 2004 09:21
> An: PHP Windows Mailing List
> Betreff: [PHP-WIN] Function reference
>
> Hi,
>
>
7;s
the 1st one):
$word->Selection->InsertBreak(wdPageBreak);
Named parms don't seem to be supported by PHP COM.
HTH
--
Sven
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 5. Januar 2005 18:55
> An: php-win
eventing Word to store it as genuine .doc (it will be saved as plain
text, showing the HTML tags even when told to be stored as .doc)
HTH
--
Sven
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Gesendet am: Freitag, 7. Januar 2005 15:51
> An:
e ? I don't
know,
since it works like a charm. If one can get it it's worth a try
--
Sven Schnitzke
> -Ursprüngliche Nachricht-
> Von: Jason Barnett [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 13. Januar 2005 23:07
> An: php-windows@lists.php.net
> Be
fully control it. So you may produce such a text in
the first
place. Will be a lot faster than COMing around...
d) If you have data that can be calculated from a seed (consecutives or any
other building rule)
you may automate "auto fill in". Do that by recording a macro when creati
Hello World!
When experementing with hawhaw.inc I want *.wml to be parsed by
php4isapi.dll
Windows98 with PWS How?
--
Greetings from Sweden:
| Sven-Olov Larsson
| [EMAIL PROTECTED]
| http://www.debugdata.se/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Thanks Cjd.
It's Ok now :)
"Cjd" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> a.. Run Regedit.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
Hi Dan!
http://www.borland.com/interbase/ Documentation
seems to be a god place. God luck from Sven-Olov
"Sichta Daniel" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Does anybody know where can I get de
71 matches
Mail list logo