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
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
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
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
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]
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.
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
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
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
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
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
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?
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
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
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
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
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
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:
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
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:
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
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
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
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
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
/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
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
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
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
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
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
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
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.
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
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
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;
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
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
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
*. 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
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
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
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
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 "
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&
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
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
?
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
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]
> >
> 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
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
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
-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
$_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
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
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
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
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
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
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"
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
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
');
$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
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
$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
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
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:
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
$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
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
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
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:
>
> >
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
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.
>
>
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
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
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
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
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
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
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]...
>
>
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
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
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
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
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
> 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
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]]
> &
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
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]"&
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
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
>
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]...
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:
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" <[
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
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
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
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
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
901 - 1000 of 2647 matches
Mail list logo