Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread michael kimsal
Miguel Cruz wrote: >> >>Do it in JavaScript, it works and it's client side so it will be >>faster. > > > But take care - using JavaScript for site navigation is tricky business. > Some people don't use it, some people can't use it (not supported by their > browsers / hardware / corporate pol

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Michael Kimsal
Miguel Cruz wrote: >On Mon, 29 Apr 2002, michael kimsal wrote: > > >>Miguel Cruz wrote: >> >> >>>But take care - using JavaScript for site navigation is tricky business. >>>Some people don't use it, some people can't use it (not

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Michael Kimsal
Mark Charette wrote: >-Original Message- >From: michael kimsal [mailto:[EMAIL PROTECTED]] > > >Similarly, can someone point me to a company that specifically disables >javascript as 'corporate policy'? >Ford, General Motors, and Chrysler specifically disall

[PHP] Re: Date and Time

2002-04-29 Thread Michael Virnstein
seems like you echo an 1 before print $time is called. Look through your code, there must be something printed or echod. Perhaps it's simple some html (?>1 schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > Anyone know any reason that the date function would return 2

[PHP] Re: Hey PHP PPL - Great Question !!!

2002-04-29 Thread Michael Virnstein
don't use persistent connections. Persistent connections are only possible if you're running PHP as Apache Module, not in CGI version. So it's up to you to decide what you need. Regards Michael "Vins" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]

[PHP] parsing mail files

2002-04-29 Thread Michael George
s already done it and is willing to offer up their work, it would save me the trouble of doing it myself. Thanks! -Michael -- In light of the terrorist attack on the U.S.: They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.

Re: [PHP] parsing mail files

2002-04-29 Thread Michael George
On Mon, Apr 29, 2002 at 02:42:01PM +0200, Michal Dvoracek wrote: > > try sourceforge.net or freshmeat.net. > > There are very usefull programs. > > Try search: mail mime Great suggestion, thanks! -- In light of the terrorist attack on the U.S.: They that give up essential liberty to

[PHP] Question for you guys on best tools for a job

2002-04-29 Thread Michael Champagne
y ideas? Thanks in advance for any responses. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is

Re: [PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Michael Champagne
ing on the client end. Mike > Why don't you use javascript to refresh the page from time to time. > > Michael Champagne wrote: > > I'm not even sure this is possible without doing a client side java applet of > > some sort. > > > > We are considering po

[PHP] Re: Best BBS

2002-04-30 Thread Michael Kimsal
one else's phpbb site a few weeks ago and thought it was a horrible mishmash of code/html. But I'm not going to post a whole website about how bad it is unless without giving specific examples. :) Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List

Re: [PHP] Secure user authentication

2002-05-03 Thread Michael Kimsal
he access rights were forged. > What I can't figure out is why you're allowing people to just randomly put pages on your server. If someone was to randomly register a similar user object, etc - why bother? If I can put pages on your server and execute them, I'd do some

[PHP] Re: PHP vs JSP

2002-05-03 Thread Michael Kimsal
Paras Mukadam wrote: > Dear all, > How is PHP similar to / different than JSP ? I mean, in JSP the page is > compiled the first time it runs on the web-browser, then the next time it > finds the .class file and just runs it. i.e. the compiling is "just" the > first time !! How does it work in PHP?

Re: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Michael Kimsal
Mantas Kriauciunas wrote: because i have lots of outputs before it..and i need them all..so..what should i do? If you need them, why are you redirecting away from them? You can't 'need' to display something and simultaneously 'need' to redirect away from that

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Michael Kimsal
PHP -> C compiler, but haven't seen anything on it yet. This might alleviate speed problems for people (although it would introduce a longer write/compile/test cycle). Michael Kimsal http://www.logicreate.com/ 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Problem

2002-05-06 Thread Michael Luthe
Hi I ve a Problem when i try to use sessions. I can do destroy_session() and at the next time there is session without starting session_start(). I closed the browser and startet a site which only does: and he shows me a session id without having a anything in my session.save_path :( when i uplo

[PHP] PHP Training Course announcement

2002-05-06 Thread Michael Kimsal
information. -- Michael Kimsal Tap Internet, Inc. (734) 482-1371 Toll Free 1-866-745-3660 http://www.logicreate.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] question with sockets and XML

2002-05-06 Thread Michael Geier
format... I would like to say "start reading lines starting with until line containing " then, take that information and write it to a file. The problem is that the articles are not fixed length. Any help appreciated. --- Michael -- PHP General Mailing List (http://www.ph

Re: [PHP] Error messages

2002-05-07 Thread Michael Egan
Ferry, I think this is a fairly standard error message suggesting that the password information being passed to the underlying database is incorrect. It would be the settings to connect to the database that need to be altered in this case. Michael Egan > Warning: Access denied for user: &#

[PHP] multipart/form-data

2002-05-07 Thread Michael Ransburg
Hi! Everytime I add enctype="multipart/form-data" to my tag the $HTTP_POST_VARS is empty. If I remove it, everything works. I need the multipart/form-data because I'm doing a file upload as part of my form. I'm running PHP 4.1.2. Any ideas? Thanks mike ps: Here is my core configuration: Con

AW: [PHP] multipart/form-data

2002-05-07 Thread Michael Ransburg
rt/form-data%26hl%3Den%26start%3D20 %26sa%3DN (all in one line above) I did search deja before, but even as many seem to have this problem, I did not find an answer... thanks again Mike > -Ursprüngliche Nachricht- > Von: Michael Ransburg [mailto:[EMAIL PROTECTED]] > Gesendet:

RE: [PHP] multipart/form-data

2002-05-07 Thread Michael Ransburg
t; On Tuesday 07 May 2002 18:01, Michael Ransburg wrote: > > Hi! > > > > Everytime I add enctype="multipart/form-data" to my tag the > > $HTTP_POST_VARS is empty. If I remove it, everything works. > I need the > > multipart/form-data because I'm doi

RE: [PHP] multipart/form-data

2002-05-07 Thread Michael Ransburg
not being allowed. I'll try to change this. thanks mike > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 12:19 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] multipart/form-data > > > On Tuesday 07 May 200

RE: [PHP] Self Destruct code

2002-05-07 Thread Michael Ransburg
Too easy...the client would just have to check the code for it and he would have the code. Better get a md5'd version of the code from somewhere in the net (from your server for example) and compare it to the md5'd version of the code the client put in. But that way the client could always just

RE: [PHP] how to generate a date between 1998 and today by random?

2002-05-07 Thread Michael Ransburg
haven't tried that: use mktime to get unixtimestamps of today and of the date between 1998. create a random number between these timestamps (the random function should be capable of it, or just code yourself a little function). convert the resulting timestamp to a date using the todate() functi

Re: [PHP] Upload picture files

2002-05-10 Thread Michael Barker
Download and install gallery and have the client install gallery remote. :-D http://gallery.sourceforge.net/ On Friday 10 May 2002 11:13 am, Diana Castillo wrote: > What utility or function can I use to upload pictures from the users > computer in a form ? -- PHP General Mailing List (http://w

[PHP] Re: Getting PHP on FreeBSD to talk to MSSQL Server 7...

2002-05-10 Thread Michael Kimsal
/local/etc/freetds, which it > is/was my understanding that this is what's supposed to be there. Yet > not only does PHP give me: the --with-sybase= line needs to point to where freetds was compiled, not the interfaces file. We don't use the interfaces file, which seems to

Re: [PHP] Send html email

2002-05-11 Thread Michael Geier
ncluding multi-part, SMTP-Auth, attachments, etc, that works with a variety of MTAs including Sendmail, Qmail, and direct SMTP transport. -- Michael Geier CDM Sports, Inc. - Systems Administrator email: [EMAIL PROTECTED] Quoting Liam MacKenzie <[EMAIL PROTECTED]>: > R

Re: [PHP] Re: Debugger

2002-05-12 Thread Michael Kimsal
obviously, and I've never heard an answer one way or another why it was removed, but the timing seems pretty remarkable. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: To all who replied to :Newbie question to everybody...PHP

2002-05-12 Thread Michael Kimsal
e a tutorial (I'd guess searching for 'php array tutorial' would net you exactly what you want though too). Use search engines first - you're bounch to find exactly what you're looking for in a fraction of a time it takes people multiple people to read and respond, t

Re: [PHP] Re: Debugger

2002-05-12 Thread Michael Kimsal
Rasmus Lerdorf wrote: > That's just not the case. The debugger in PHP 3 would not work at all in > PHP 4 and would need a complete rewrite. So, being cynical you might say > that someone should have written a debugger for PHP 4 and the fact that > nobody did was the conspiracy, but it makes no s

Re: [PHP] Getting only 255 chars from SQL Server

2002-05-13 Thread Michael Sims
On Sun, 12 May 2002 18:43:47 -0700, you wrote: >I have an SQL Server database running on a server on the internet. I >need to have php connecting to the db and returning values. Simple >stuff. No problem making the connection and getting data using the mssql >functions. The weird thing is that

[PHP] Re: Problem with sessions.

2002-05-13 Thread Michael Virnstein
uot;] ) || $_SESSION["myLoginVar"] != "myval") { //login page } Else { // logged in } Regards Michael "Ben Edwards" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am using sessions for holding who is l

[PHP] Re: XML-parser

2002-05-13 Thread Michael Virnstein
http://sourceforge.net/projects/phpxpath/ <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I´m working on a little web shop solution for a school project, therefore > I´m looking for > a PHP XML-Parser or some source code I can get from somewhere.

[PHP] Re: question about objects and references

2002-05-13 Thread Michael Virnstein
ef) { $blah = &$objRef; } -> $blah will hold a reference! > I pass $someObject to another function. Is this a reference to the original > $this, or is it a copy of the object? Read what i wrote above and answer it yourself. Regards Michael. > All function calls are by val

[PHP] Re: unhandled exception processing the ISAPI

2002-05-13 Thread Michael Kimsal
to reboot the system because IIS won't work!!! > > Would u please give me some help or advice? thx!!!! > This may seem a bit harsh, but don't use the ISAPI version. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: question about objects and references

2002-05-13 Thread Michael Virnstein
here's an example of what i said: a += 1; } function byRef(&$obj) { echo $obj->a += 1; } /// $a = &new obj(); $a->byVal(); echo ""; echo $a->a; echo ""; $a->byRef(); echo ""; echo $a->a;

[PHP] Re: css sheets in designs

2002-05-13 Thread Michael Kimsal
d most people aren't worried about bandwidth costs, but a 50% reduction is page loading speed is something more people seem to notice. Michael Kimsal http://www.logicreate.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Compatiblity: Zend-1.20 + PHP4.2.1

2002-05-14 Thread Michael Kimsal
pretty picky about what versions it works with. IIRC, it didn't used to be uncommon for the ZO to lag at least a few days behind PHP releases, and I wouldn't be surprised if that's still the case. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD and Freetype on Win2k.

2002-05-15 Thread Michael Barker
am I doing something wrong? If I need to install Freetype could some one point me to a good source with win32 documentation? Thanks -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Michael Kimsal
*. I look at it the other way - I love having more things under my control, and regardless of whether a webserver has configured outgoing compression or not, I can control it. > > > What's everyone else think? > See above. :) Michael Kimsal http://www.logicreate

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Michael Kimsal
ady messed up. But even PRINTing a regular page that is gzipped is hosed, because NS tells the server it can handle zipped data, but it doesn't unzip before printing, so you'll be printing out compressed data to your printer. Don't even bother flaming me about x% of your users sti

[PHP] Re: Need help with Arrays

2002-05-15 Thread Michael Virnstein
1. your while loop should have {} brackets i can't see where it starts and where it ends. so does PHP. leaving brackets away tells PHP that only the next line is part of the while loop. i don't know if your file has only the three lines ($cust_name, $cust_area, $cust_code) or if mo

[PHP] Re: Done w/ PHP - VB or C# ?

2002-05-15 Thread Michael Kimsal
our belt. It helps, but it most likely won't instantly get you better results. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Done w/ PHP - VB or C# ?

2002-05-16 Thread Michael Kimsal
ernal authentication as opposed to a public authentication system. Hardly retracting .NET from the scene. There's a lot of interesting concepts in the .NET codebase out there now (ASP.NET webforms, for example) as well as other platforms (Java springs to mind). Just because it's "

Re: [PHP] Done w/ PHP - VB or C# ?

2002-05-16 Thread Michael Kimsal
le) as well as other platforms (Java springs >>to mind). Just because it's "not PHP" shouldn't mean you ignore it or >>worse yet, publicly denigrate it. > > > Public denigration of what I don't understand is how I strike out at a > callous world that&

[PHP] Configuration.... XML.... Life

2002-05-16 Thread Michael Dransfield
I have started writing an app which helps (mainly win32, new) users to generate config files correctly to prevent glaring security holes on production servers. I started by using parse_config_file(), but this ends up causing problems because it strips comments. This means that some variables

[PHP] Re: search engine indexing and redirects

2002-05-17 Thread Michael Virnstein
o set virtual domains for every domain on the server. imo there's no other difference, so it also shouldn't make any difference to any user, no matter if it's a crawler or regular user. Regards Michael "Adrian Murphy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 001301

Re: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Michael Virnstein
? if i have the cgi version installed, i can call the php script directly from the shell. The only thing for me to do then, is to set #!/path.to/php in the first line of the script, right? Regards Michael "Jon Haworth" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 67DF9B67CEF

Re: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Michael Virnstein
apache module. but all of what i wrote is a guess, never tried by myself. Regards Michael "Jay Blanchard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 000601c1fd9b$70cb89b0$8102a8c0@niigziuo4ohhdt">news:000601c1fd9b$70cb89b0$8102a8c0@niigziuo4ohhdt... > [snip] > >

Re: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Michael Virnstein
> the only thing that can smash th whole thing imo, is if you try to use the > cgi version via web if you have php also installed as apache module. if anyone has infos here, it'll be really nice. Regards Michael "Michael Virnstein" <[EMAIL PROTECTED]> schrieb im N

[PHP] Re: file error

2002-05-17 Thread Michael Virnstein
i do not know if file() can be used with files on remote servers. fopen() can, if this feature is enabled in php.ini. Regards Michael "Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have this c

[PHP] Re: file error

2002-05-17 Thread Michael Virnstein
s, you can overwrite their php.ini with your own. Simply place a file called php.ini in the document_root of your domain and this php.ini will get loaded instead of the php.ini of your hosting company. Nice and undocumented feature, which i found here in this list a few weeks ago. Regards Michael

Re: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Michael Virnstein
-q? this is for disabling the html headers, right? "James E. Hicks III" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > #!/path.to/php -q > > I'd like to suggest the -q option for PHP shell scripts, which I rely on every > day. > > James > -- PHP Gene

Re: [PHP] document root variable or function

2002-05-17 Thread Michael Virnstein
$_SERVER["DOCUMENT_ROOT"] "Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Friday 17 May 2002 20:56, [EMAIL PROTECTED] wrote: > > Is there a variable in PHP which will show the directory of the document > > root? I have done a few searches

[PHP] Re: $answers[answer$n]

2002-05-18 Thread Michael Virnstein
o the following: or Which is pretty much the same. now on the processing page you can do: ForEach($answers as $val) { Foreach ($val as $answer) { // do something with one of the answers } } Regards Michael "Jule" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 0

[PHP] Re: variables

2002-05-22 Thread Michael Virnstein
you can use $_POST['name1'] if you're using post vars $_GET['name1'] if you're using get vars Regards Michael "Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When are set in ph

[PHP] Re: Executebale code from a databse

2002-05-22 Thread Michael Virnstein
eval ('?>'.$var.' then comes the content of the php script which also can contain html and then we reopen and you say $var = ""; you'll result in ... eval("?> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi. > I'm changing my website to one based on My-SQL which will

[PHP] Re: JavaScript vs. Header redirect

2002-05-22 Thread Michael Virnstein
ye"; print_r($array); will output: Array ( [test] => hello [thetest] => bye ) This could also happen if the php dev team decides to set a constant with the name "test". Therefore always use "" for string-keys in arrays. Regards Michael "Hun

[PHP] Re: substr....what does this mean? (newbie)

2002-05-22 Thread Michael Virnstein
ere to start. if it is positive, start is the start and end is the end of the string, if it is negative start is the end and end is the start of the string Regards Michael P.S. the manual is your friend, learn how to read it!!! "R" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 0007

[PHP] Re: functions and scoping

2002-05-22 Thread Michael Virnstein
Why not simply define a set of variables for root dir and the other directories, and use full paths in your includes? $root = "/wwwroot/mydomain/public/"; $homepageroot = "/"; $mydir = "subdir/"; now you can do: include $rootpath.$mydir."inc.php"

Re: [PHP] Learning PHP

2002-05-23 Thread Michael Virnstein
rname and varname2 unset. But that all can be found in the manual. This was just a little help to get started. :) What i find additionally useful are the user contributed notes, which are quite helpful sometimes. Especially for newbies. Regards Michael "R" <[EMAIL PROTECTED]> schr

[PHP] Re: Passing Variables

2002-05-23 Thread Michael Virnstein
and please, next time paste the error or tell us at least, if it is a php error or a mysql error and the line on which it occured and mark that line in your sample code, so someone can look at it , understand it and help you. Regards Michael "Michael Virnstein" <[EMAIL PROTECTED

[PHP] concatenating class instances?

2002-05-23 Thread Michael Caplan
'); $frameWork = new section; Am I correct to assume that this is the default behavior in the above circumstance? Thanks, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Leading zeroes

2002-05-23 Thread Michael Sims
On Thu, 23 May 2002 09:26:05 -0700 (PDT), you wrote: >Does anybody have a clever and efficient way of >getting rid of leading zeroes in a string? How about: $str = preg_replace("/^0+/","",$str); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] Re: Passing Variables

2002-05-23 Thread Michael Virnstein
$this usually is a self-reference inside a class. Use it with care! try to "echo $sql;", perhaps this tells you more. Regards Michael "James Opere" <[EMAIL PROTECTED]> schrieb im Newsbeitrag FC788AB9771FD6118E6F0002A5AD7B8F7268AB@ICRAFNTTRAIN">news:FC78

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael Virnstein
i think that Oracle 7.3.4.0.0 does not support the oci extension or vize versa, Oracle 8i does, that's what i know for sure. so try it without the oci-extension. If it works, use this funtions in your scripts: http://www.php.net/manual/en/ref.oracle.php Regards Michael "Michae

Re: [PHP] error in compling with oracle support

2002-05-23 Thread Michael Virnstein
Found a better resource than me :) http://www.php.net/manual/en/ref.oci8.php Seems you have to install the Oracle8 Client Libraries to be able to call OCI8 interface Regards Michael "Michael Virnstein" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:

[PHP] Re: PHP Mail problem

2002-05-24 Thread Michael Virnstein
refer to the manual of your email server and check for quota settings. You obviously reached the quota limit there and now you're not allowed to send any data, until the quota is reset. This may be on a daily or monthly basis or perhaps you have to do it manually. Regards Michael &qu

Re: [PHP] passing arrays

2002-05-24 Thread Michael Virnstein
$myarray = unserialize(urldecode($_GET['myarray'])); or am i wrong? Regards Michael "Miguel Cruz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, 23 May 2002, wm wrote: > > is there a way to pass array

[PHP] Re: Program execution stops at exec()

2002-05-24 Thread Michael Virnstein
check your max_execution_time settings in php.ini Michael "Tom Mikulecky" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello > > In one script I use exec() to execute a shell script which takes 2-3 > hours to run

[PHP] Re: Program execution stops at exec()

2002-05-24 Thread Michael Virnstein
note: i think the exec in your php waits for the shell to return, but before the shell can answer, php terminates the script, because of the max_exection. Michael "Michael Virnstein" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PR

Re: [PHP] Re: Program execution stops at exec()

2002-05-24 Thread Michael Virnstein
Must have overwritten this, but very good to know that. Thanx. Michael "Analysis & Solutions" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, May 24, 2002 at 06:30:50PM +0200, Michael Virnstein wrote: > > >

[PHP] Re: unexpected T_IF

2002-05-25 Thread Michael Virnstein
you can look here: http://www.php.net/manual/en/tokens.php to see what T_IF means. 31: $FulflNme = $DOCUMENT_ROOT . $flNme you forgot the ; at the end of the line. Michael "Zac Hillier" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 002a01c203cf$4f1d7780$667ba8c0@ws">ne

Re: [PHP] inspirational

2002-05-26 Thread Michael Virnstein
try: $url = preg_replace('/^(http:\/\/)[^\/]+(\/.*)$, '\\1$SERVER_NAME\\2', $SCRIPT_URI); Michael "Jtjohnston" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to detect the url my .php lies in. > >

Re: [PHP] inspirational

2002-05-26 Thread Michael Virnstein
typo: $url = preg_replace('/^(http:\/\/)[^\/]+(\/.*)$/', '\\1$SERVER_NAME\\2', $SCRIPT_URI); Michael "Michael Virnstein" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try: > > $url = preg_rep

Re: [PHP] inspirational

2002-05-26 Thread Michael Virnstein
but the scriptname itself will be included there. Try this, if you don't want the scriptname to be included.: $url = preg_replace('/^(http:\/\/)[^\/]+((\/[^\/])*\/)([^\/]+)$/', '\\1$SERVER_NAME\\2', $SCRIPT_URI); Haven't tested them, but should work. Michae

[PHP] arrays

2002-05-26 Thread Michael Hall
with these and getting inconsistent results. I've been trying things like serialize and urlencode, but still haven't worked out a straightforward 'rule' or policy. Can someone throw some light on this? TIA Michael -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: arrays

2002-05-26 Thread Michael Virnstein
r you can appen urls like this, no serialization or sth needed then both pages: numerical indexed arrays: Page2 or Page 2 string indexed arrays: Page2 or with forms: numerical indexed arrays: or string indexed arrays: Michael "Michael Hall" <[EMAIL PROTECTED]> schr

[PHP] Re: how to display a file's last updated time using php?

2002-05-26 Thread Michael Virnstein
look here: http://www.php.net/manual/en/ref.filesystem.php and especially here: http://www.php.net/manual/en/function.filemtime.php Michael "Rui Huang" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]... > Hi, friends, > > I want to display the la

[PHP] Re: Ora_Fetch_Into function problem

2002-05-26 Thread Michael Virnstein
have you tried compiling php with oci again, by installing the Oracle8i Client libraries? Should work as far as i have read. The oci interface is much better than the ora interface. And I am not familiar with the ora functions, only used to oci. Michael "Michael P. Carel" <[EM

Re: [PHP] Ora_Fetch_Into function problem

2002-05-27 Thread Michael Virnstein
le.com I'd provide a direct link, but i can't access the page at the moment... seems to be down. Michael "Michael P. Carel" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 006a01c2055b$fbfcb280$[EMAIL PROTECTED]">news:006a01c2055b$fbfcb280$[EMAIL PROTECTED]... > >

[PHP] Newbie question about PHP and Oracle

2002-05-27 Thread Michael Sweeney
a VERY newbie question, just how do I get data into a listbox? In mysql it was pretty easy with mysql_fetch_row, but for oracle I am totally lost. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML Checkboxes and PHP variables

2002-05-29 Thread Michael Hall
is not an array :-( I'm using Netscape 4.7 something on Red Hat 6.2 ... could this be an issue? I know Netscape can be pretty buggy and fussy at the best of times. Michael On Wed, 29 May 2002, 1LT John W. Holmes wrote: > If you name the form elements as arrays, then yeah, they are

[PHP] Post 4.1.0 PHP

2002-05-30 Thread Michael Hall
lentless volume (of great, useful info). TIA ---- Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Was: [PHP-WIN] GD & Freetype on W2K/Apache1.3.2/PHP4.2.0

2002-05-30 Thread Michael Davey
I know this is cross-posting, but I have no luck with finding a solution to this problem on PHP-WIN, and I have since tried running my code on a Linux server and have had the same problems... so here goes! -- Original Post -- Sorry if this has been posted a hundred times already - but I am trying

[PHP] SQL question, getting error and not sure why

2002-05-30 Thread Michael Sweeney
My following query : insert into acteursenc (nuacteur,nomacteur) (select AA, BB from (select max(nuacteur)+1 AA from acteursenc), (select 'Michael Sweeney' BB from acteursenc))" produces an ORA-1: unique constra

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Davey
> insert into acteursenc (nuacteur,nomacteur) > (select AA, BB from > (select max(nuacteur)+1 AA from acteursenc), > (select 'Michael Sweeney' BB from acteursenc))" > > produces an ORA-1: unique cons

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Sweeney
uot;>news:[EMAIL PROTECTED]... > Maybe it does in Oracle - you should check your documentation though... > > BTW, please post your replies to the list rather than me personally :-) > > > -Original Message- > > From: Michael Sweeney [mailto:[EMAIL PROTECTED]] > &

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
the problem is, that the second sql produces more than one row. To be exactly the amount of select count(*) from acteursenc rows, with 'Michael Sweeney' as value in BB. Perhaps you have a unique key on nomacteur?! I could help further, if i know what you want to do with your query. i

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Davey
Is the key a numeric sequence (1001, 1002, etc...)? If so, you could do a "select count(*) from table" and add your offset to that (1000 from the example above) Does this help? Mikey "Michael Sweeney" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"&

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
with second sql i meant: (select 'Michael Sweeney' BB from acteursenc) if you want one row and you need a dummy table, use "dual". Michael "Michael Virnstein" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &g

[PHP] Re: [PHP-WIN] GD & Freetype on W2K/Apache1.3.2/PHP4.2.0

2002-05-30 Thread Michael Davey
Ignore this - I have managed to get them to work in Unix - now onto Windows... sigh! "Michael Davey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I know this is cross-posting, but I have no luck with finding a solution to >

[PHP] Re: I want a script to run after a page already loads.

2002-05-30 Thread Michael Davey
It would be possible to flush the output of your page (i.e. your HTML) and then put the PHP code after this... however, the page wouldn't appear to be fully loaded until the script had finished processing... Mikey "Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...

[PHP] Re: Posting to a form - When user hits BACK button all the data isgone

2002-05-30 Thread Michael Davey
The best way to do this is to register your form data as session variable when it is processed on the second page. Then add some scripting in the first page to check for these variables and pre-populate the form as necessary... Mikey "Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message news:

Re: [PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
yes, in that way the query i suggested would look like: insert into acteursenc (nomacteur) values ('Michael Sweeney') and nuacteur would be provided by the before insert trigger automatically. that's like mysqls autoincrement. Michael "Rouvas Stathis" <[

[PHP] Re: Help with example session class (second request)

2002-05-30 Thread Michael Davey
Not quite sure where you got this $login class instance from, but it appears to be from thin air. If you have a session class then you would need to instantiate it first with: $login = new XYZSessionClass(); // plus any constructor arguments However, I am a bit confused as you mention using PHP

[PHP] Re: Help with example session class (second request)

2002-05-30 Thread Michael Davey
Oops - should have read down a lot further... "Michael Davey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Not quite sure where you got this $login class instance from, but it appears > to be from thin air. If you have a ses

Re: [PHP] Help with example session class (second request)

2002-05-30 Thread Michael Davey
As I said... >Not quite sure where you got this $login class instance from, but it >appears to be from thin air. If you have a session class then you would need >to instantiate it first with: > >$login = new XYZSessionClass(); // plus any constructor arguments And to quote from the manual page

Re: [PHP] Re: Help with a trivial session example.

2002-05-30 Thread Michael Davey
Hmm... I can't say that I have moved over to the new superglobals yet - I prefer register_globals cos I am lazy ;) But it does seem that there are two possible variables that you need to use - the one in your script ($HTTP_SESSION_VARS), but this is only for 4.0.6 or less, it is $_SESSION otherw

[PHP] Trouble with PHP XMLRPC on Solaris

2002-05-30 Thread Michael Sweeney
r a hint, but haven't been able to find anything so far. Can anyone shed any light on this problem for me? Michael [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    5   6   7   8   9   10   11   12   13   14   >