[PHP] OFF THIS LIST, PLEASE

2001-04-20 Thread Jon Jacob

I have tried to unsubscribe, but can't seem to get the message through. 
Please help.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] OFF THIS LIST, PLEASE

2001-04-20 Thread Jon Jacob

Matthew Luchak wrote:
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]

Hey, great idea.  Wish I had thought of it : )

Actually, I did.  And I sent the mail for both this list and the Dev
list but the admin server does not seem to be doing its job.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Recompiling under RH7

2001-03-30 Thread Jon Jacob

Okay, frustration time under RH7...

I am trying to recompile PHP for use with Oracle.  (If you are saying to
yourself, "but Oracle does not work under RH7." then don't go
there.  It does but it takes a significant amount of work.)

I have done this before under RH6.2 and it did the same thing it is
doing now.  What it is doing is telling me: "Call to undefined function:
ora_logon() in /home/jon/public_html/test.php on line 26"  Now, in 6.2 I
recompiled using --with-oci8 which did not work then with --with-Oracle
which did.  Now, neither works.  What am I missing or doing wrong.

Thanks.

P.S. If you want to get Oracle to work with RH7 write me offlist and I
will try and give my version of this gruesome tale : )


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Recompiling under RH7

2001-03-30 Thread Jon Jacob

Jon Jacob wrote:

> Okay, frustration time under RH7...
>
> I am trying to recompile PHP for use with Oracle.  (If you are saying to
> yourself, "but Oracle does not work under RH7." then don't go
> there.  It does but it takes a significant amount of work.)
>
> I have done this before under RH6.2 and it did the same thing it is
> doing now.  What it is doing is telling me: "Call to undefined function:
> ora_logon() in /home/jon/public_html/test.php on line 26"  Now, in 6.2 I
> recompiled using --with-oci8 which did not work then with --with-Oracle
> which did.  Now, neither works.  What am I missing or doing wrong.
>
> Thanks.
>
> P.S. If you want to get Oracle to work with RH7 write me offlist and I
> will try and give my version of this gruesome tale : )
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

ADDED INFORMATION:

To recompile PHP, I simply downloaded the tarball from the Zend site,
untarred it, did make and make install with the oracle options, and
restarted Apache.  I forgot, before I sent the last note, to use phpinfo()
to check the install.  Well, nothing about Oracle.

It must not be as simple as I thought.  What do I need to do to recompile
properly?  Do I need to recompile Apache as well?  If so, with what
options.  Its amazing that there is no documentation anywhere about this.
I have looked.

Oh well, just another RH7 story.  I feel like I am part of that scene in
Jaws where the two shark hunters are comparing scares


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob

Sorry for the newbie level questions, but I am having more weird install
problems.  Its just been so long since I did all this installing crap I
guess I forgot a couple of things..

I have recompiled Apache and PHP according to the instructions in the
INSTALL doc, but when I run it now the document shows the source.  What
did I forget?


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob

Greg Donald wrote:

> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Jacob
> > Sent: Friday, March 30, 2001 9:05 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] More questions about installing.
> >
> >
> > Sorry for the newbie level questions, but I am having more weird install
> > problems.  Its just been so long since I did all this installing crap I
> > guess I forgot a couple of things..
> >
> > I have recompiled Apache and PHP according to the instructions in the
> > INSTALL doc, but when I run it now the document shows the source.  What
> > did I forget?
>
> You forgot to set that particular file extension in your httpd.conf to be
> parsed as PHP...
>
> Here's mine:
> AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
>
> Greg

Ah, but there my friend is the rub.  I did put that in.

.And, all the conditions for the modules are there and specifically the
module for php4 is present and the conditional is there.  I tried putting the
line above in the wide open (outside a conditional) but that made narry a
difference.

Thanks though : )


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob

Greg Donald wrote:

> > Ah, but there my friend is the rub.  I did put that in.
> >
> > .And, all the conditions for the modules are there and
> > specifically the
> > module for php4 is present and the conditional is there.  I tried
> > putting the
> > line above in the wide open (outside a conditional) but that made narry a
> > difference.
>
> Is the module loading?
>
> do a httpd -l
>
> 
> destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common
> internet addict, 3. lover of late 80's heavy metal music, 4. Activist
> for the terminally un-elite; see also - cool guy, des, mr. php...
>
> It's 4:00am, your web site is still up, why are you?
> http://phplinks.org/ http://destiney.com/
> 

Yes.

Results of httpd -l

Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_setenvif.c
  mod_php4.c
suexec: disabled; invalid wrapper /www/bin/suexec



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob

Greg Donald wrote:

> Got me...  I can't think of much else.  Sorry...
>
> 
> destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common
> internet addict, 3. lover of late 80's heavy metal music, 4. Activist
> for the terminally un-elite; see also - cool guy, des, mr. php...
>
> It's 4:00am, your web site is still up, why are you?
> http://phplinks.org/ http://destiney.com/
> 
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Jacob
> > Sent: Friday, March 30, 2001 9:22 PM
> > To: Greg Donald
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] More questions about installing.
> >
> >
> > Greg Donald wrote:
> >
> > > > Ah, but there my friend is the rub.  I did put that in.
> > > >
> > > > .And, all the conditions for the modules are there and
> > > > specifically the
> > > > module for php4 is present and the conditional is there.  I tried
> > > > putting the
> > > > line above in the wide open (outside a conditional) but that
> > made narry a
> > > > difference.
> > >
> > > Is the module loading?
> > >
> > > do a httpd -l
> > >
> > > 
> > > destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common
> > > internet addict, 3. lover of late 80's heavy metal music, 4. Activist
> > > for the terminally un-elite; see also - cool guy, des, mr. php...
> > >
> > > It's 4:00am, your web site is still up, why are you?
> > > http://phplinks.org/ http://destiney.com/
> > > 
> >
> > Yes.
> >
> > Results of httpd -l
> >
> > Compiled-in modules:
> >   http_core.c
> >   mod_env.c
> >   mod_log_config.c
> >   mod_mime.c
> >   mod_negotiation.c
> >   mod_status.c
> >   mod_include.c
> >   mod_autoindex.c
> >   mod_dir.c
> >   mod_cgi.c
> >   mod_asis.c
> >   mod_imap.c
> >   mod_actions.c
> >   mod_userdir.c
> >   mod_alias.c
> >   mod_access.c
> >   mod_auth.c
> >   mod_setenvif.c
> >   mod_php4.c
> > suexec: disabled; invalid wrapper /www/bin/suexec
> >
> >
> >
> > _
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >

Appreciate the try.

This worked (albeit without the Oracle support) before I recompile it so it is
not the httpd.conf file.  I believe it is the way I compiled Apache, but I did
it according to instructions.



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Quick RegEx Question

2001-03-31 Thread Jon Jacob

Jeff Oien wrote:

> I want to check if a variable contains a price, like
> $19.99
> It definitely would be a dollar sign, two integers a dot and
> two integers. Here is what I tried which doesn't work.
>
> if (ereg("\$([0-9]{2}).([0-9]{2})", $Price))
> or
> if (ereg("\$([0-9]{2})\.([0-9]{2})", $Price))
>
> Thanks.
> Jeff Oien
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

I am not an expert on PHP but I have been programming in Perl for four
years so I can tell you what I would use in Perl and you can see if that
works in PHP.  (I am almost sure they would be the same...)

/\$\d\d\.\d\d\.d/

It looks to me like you are forgetting to escape your period making the
interpreter think it is "any character" rather than a literal period.  I am
not sure what the {2} is because I have never used that.  Does that part of
it really work that way?

Good luck, hope that helps.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Compiling under RH7

2001-03-31 Thread Jon Jacob

I am still  only getting the source of the php file.  Has anybody
successfully compiled Apache 1.3.x (1.3.19 in my case) and PHP
(4.0.4pl1) under RH7?  My httpd.conf has the proper AddType line and the
php4 module is installed according to httpd -l.

If you have done this successfully, please let me know.  I have been
racking my brain for three straight days trying to get this to work.

Thanks.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Quick RegEx Question

2001-03-31 Thread Jon Jacob

Jon Jacob wrote:

> Jeff Oien wrote:
>
> > I want to check if a variable contains a price, like
> > $19.99
> > It definitely would be a dollar sign, two integers a dot and
> > two integers. Here is what I tried which doesn't work.
> >
> > if (ereg("\$([0-9]{2}).([0-9]{2})", $Price))
> > or
> > if (ereg("\$([0-9]{2})\.([0-9]{2})", $Price))
> >
> > Thanks.
> > Jeff Oien
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> I am not an expert on PHP but I have been programming in Perl for four
> years so I can tell you what I would use in Perl and you can see if that
> works in PHP.  (I am almost sure they would be the same...)
>
> /\$\d\d\.\d\d\.d/
>
> It looks to me like you are forgetting to escape your period making the
> interpreter think it is "any character" rather than a literal period.  I am
> not sure what the {2} is because I have never used that.  Does that part of
> it really work that way?
>
> Good luck, hope that helps.
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

Opps.  I mistyped that.  It should be:

/\$\d\d\.\d\d/

Drop the last d.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] RH7, Oracle 8i: Curiouser and Curiouser

2001-03-31 Thread Jon Jacob

Hum.  Maybe it is because of the weekend or maybe it is because the
combination of RH7, Oracle and PHP is too volitile, but I have yet to
hear of anyone who has gotten this to work.  Well, my experience brings
up serious doubts that it can be done (but I will persist!)

I will quickly recap if you have not followed my previous posts.  I
recompiled Apache and PHP according to instructions causing a working
situation to become broken.  All PHP code showed in the browser instead
of being rendered.  I went over my configuration with a find tooth comb
and it appeared correct.

In response to this, I decided to return to my previous state by
installing the RH7 rpm with the additional oci rpm for Oracle support.
Indeed, it did improve the situation but only halfway.  Let me
explain..

The browser now renders the PHP correctly and the phpinfo() function
shows that the --with-oci8 support is included.  However, when I use the
basic OCI function OCILogin, I get the following error (just as I did
when I first started this mess):

Fatal error: Call to undefined function: ocilogon() in
/home/jon/public_html/test.php on line 25

So, I tried to run the file from the command line, and lo and behold,
the file worked as it should.  I did not get any errors whatsoever.

What the hell could all this mean?


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Compiling under RH7

2001-03-31 Thread Jon Jacob

Yasuo Ohgaki wrote:

> How did you install Apache and PHP? PRM or source?
> I compile from source for these. You might have httpd.conf that is actually used
> by apache may be located some where else.
>
> If you are compile from source and need the same file layout as RedHat,
> use --with-layout=RedHat (or like) for Apache's configure.
>
> (How about run 'find / -name httpd.conf'? You might find more than one.)
>
> Regards,
>
> --
> Yasuo Ohgaki
>
> "Jon Jacob" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am still  only getting the source of the php file.  Has anybody
> > successfully compiled Apache 1.3.x (1.3.19 in my case) and PHP
> > (4.0.4pl1) under RH7?  My httpd.conf has the proper AddType line and the
> > php4 module is installed according to httpd -l.
> >
> > If you have done this successfully, please let me know.  I have been
> > racking my brain for three straight days trying to get this to work.
> >
> > Thanks.
> >
> >
> > _
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

Duh.  I wish I had gotten your reply earilier.  Yes, there was a second httpd.conf
file and it did lack the addtype line, but now I am in a different situation as I
have reinstalled the original rpms with the oracle rpm and yet the oracle functions
do not exactly run (see my previous note).

Appreciate the effort, however.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Finally! Got PHP to work with RH7 and Oracle

2001-04-01 Thread Jon Jacob

Well, my bumbling determinism finally paid off.

After starting at the configuration laid down by the rpms, I could not
figure out what was wrong, so I decided to recompile the php source with
the OCI8 option (and -enable-sigchild which is advised in the
configuration output) and for whatever reason, it works.

Go figure.

I believe the bug lies in the OCI rpm but that is just a guess.

Thanks for all of you who tried to help.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Programming Jobs

2001-04-01 Thread Jon Jacob

I hope this is not off topic, but I need to ask a general audience this
question and this seems like the right group.

I have been out of work for two months and I am not sure why.  I am a
talented web programmer with three years experience, strong Perl,
JavaScript, CGI, and HTML skills and a great work ethic.  I have been
offered a job (which I turned down) but nothing desirable has come my
way.  I know the economy is slow, but I am shocked that I am out of work
for this long.  Are others experiencing this, or is it just me?

I live in Portland, OR which is not the center of the tech universe but
has strong tech companies nonetheless.  I am just confused and am
wondering if it is something I am doing or something that is being done
to me.  If the later, I can wait it out, but I just wanted to know if
anyone in my silimiar situation was experiencing something the same and
had any insight to share.

I apologize for the vent, but it is starting to become frustrating and
confusing.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





Re: [PHP] Problems with files!!!!!

2001-04-01 Thread Jon Jacob

David Robley wrote:

> On Sat, 31 Mar 2001 21:31, Ales Kunst wrote:
> > Hi,
> >
> > I have a strange kind of a problem. I'm cannot write to files on a
> > server (i'm having virtual host) where i got my domain name.
> > The server is running Apache 1.3.x and is having php3.0.8 installed.
> > The code looks like this:
> >
> > 
> > 
> >  > $fcontents = "something";
> > $fp = fopen("tmp/some.dat", "w");  // trying to open file in my
> > directory tmp/ (i think)
> > fwrite($fp, $fcontents);
> > fclose($fp);
> > ?>
> > 
> > 
> >
> > I cannot write to directory tmp.I get an error from Netscape that
> > "document contains no data" (i changed the directory mode to 777
> > (tmp/)). The strangest part is that this script works fine when i am
> > running it at home. At home i tried to run the script under Windows 98
> > and Linux Mandrake both with Apache 1.3.x with php 4.0.x installed (i
> > don't think this code should have any compatibility problems). On Linux
> > i have put the script to a user directory, just the kind on the server
> > is, and it worked just fine. I think maybe it's the Apache
> > configuration (on the server) which is causing my problem. I would very
> > appreciate any help on this matter (clues what could be wrong).
> >
> > Ales!
>
> Probably permissions still - the parent directory must also be accessible
> to the user that the web server runs as.
>
> --
> David Robley| WEBMASTER & Mail List Admin
> RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
> AusEinet| http://auseinet.flinders.edu.au/
> Flinders University, ADELAIDE, SOUTH AUSTRALIA
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

Ah, this may be too simple of an answer but usually the directory is /tmp
not tmp/


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Problems with files!!!!!

2001-04-01 Thread Jon Jacob

Tyrone Mills wrote:

> I don't know if it's been mentioned or not, but I have found that unless the
> file exists, I can't open it. Have you verified that the file exists and the
> user that the script will run as has the appropriate permissions?
>
>

I think you are mistaken.  According to the PHP manual page, with fopen the
option 'w' does the following:

"Open for writing only; place the file pointer at the beginning of the file and
truncate the file to zero length. If the file does not exist, attempt to create
it. "

In this case the line:

$fp = fopen("tmp/some.dat", "w");  // trying to open file in my

Would create the file if it did not exist, but you make a good point that
permissions need to be set.  The directory would need to probably be world
writable (usually 755 or xrw-rw-rw).


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Programming Jobs - what I look for.

2001-04-02 Thread Jon Jacob

Michael Kimsal wrote:

> To follow up just a bit more, here are skills I would require of someone
> before hiring them:
>
> * Practical SQL knowledge, with hands-on experience of at least 6 months
> (with projects/URLs to show for it) with either MySQL, Postgres, MSSQL,
> Oracle, DB2 or another high-level DB system (preferably more
> than one, but we'll take just one).
>
> * At least 6 months of practical PHP knowledge - projects/URLs to
> show for it.
>
> * Ability to design/debug complex HTML tables, or create scripts to do the
> same. :)
>
> * Ability to talk me through at least 2 ways of solving a data manipulation
> problem, without code - whiteboard/paper/hand gestures and words only.
> You also need to be able to argue why one method is better over another.
> You don't have to be right, but you have to be able to justify your
> choices.
>
> * Understanding of HTTP, session management, cookies, etc.
>
> * More than a passing interest in new technologies, and how to apply
> your current skills to those new areas (wireless, etc.)
>
> * Willingness to work weekends/evenings, if need be, to meet deadlines.
>
> There are some tech things above, and some personality things.
> I don't care too much if the projects people show me are personal
> or professional, as long as they get excited about some of those
> projects - either by talking about the skills they gained or mistakes
> they made, or about how these projects can be adapted to other
> situations.
>
> I'm not dogging you personally Jon - I don't even know you.  I'm just
> speaking as an employer in the web services field - these are the skills
> I generally look for in people.  :)  My guess is that others have similar
> criteria, but I may be way off base.
>

Appreciate your response.  I was hoping to get some employer input.

Frankly, I truncated my skills to the list because I was trying to make a
point of what I was looking for not who am I.  I do know SQL and I have been
working on a personal project for about three months which I hope to "release"
in about two weeks that uses Perl for data gathering, Oracle for data storage,
and PHP for the CGI.

Just for clarification you can view my resume at:
http://www.manymoons.net/~jon/resume.html

When I knew I was headed out of work the first thing I did was work on my
skill set.  I started with C++, looked over and played with PHP, and then
moved on to working out some stuff in Oracle.

You are right.  If I only knew Perl, JS, and HTML, then that would be the
"bare minimum".  But, I do know more than that and I have demonstrated an
ability to learn new skills.  The amazing thing is that Intel was hiring
contractors for $50/hr just for their Perl skills.  That was before X-mas.  I
had an interview all set to go.  Then, Intel announced in January that they
were putting a freeze on hiring.  This largely sums up my experience.  Again,
I have to say that I don't think my skill set is a major issue.  Maybe I am
wrong.  But, I have had enough interest in people wanting to hire me, there
just has been no funds to do so.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Oracle support not working

2001-01-27 Thread Jon Jacob

Apache 1.3.12
Oracle 8.1.6
Redhat 6.2
PHP 4.0.3

Well, I think I have done everything right but must have missed
something.  I installed with --with-oci8 and --with-oracle, my
LD_PRELOAD is defined properly and even has the full path to be sure,
apache has been stopped and restarted, yet when I try and run my PHP
script the very first oracle function comes back to:

Fatal error: Call to undefined function: ora_login() in
/home/jon/public_html/test.php on line 6

What could I be missing?  I am not an expert on Oracle or PHP but this
does not seem like it should be so hard.  It does not appear to be a
problem with PHP accessing Oracle because it is never getting that far. 
How do I get this right?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] string length?

2001-01-30 Thread Jon Jacob

Kevin Connolly wrote:
> 
> Hi,
> I am quite new to PHP scripts and I have run into a little problem with my string!
> I have a string called $numbers which is 5;6;12;21;36;42 (for example, it can be any 
>6 numbers between 1 and 42).
> Is there an easy way that I can find out how many numbers there are in the string 
>without the five semi-colons??
> I was playing around with count_chars but had no success!
> then i tried converting it to an array and counting the number of elements in the 
>array but unfortunatley it put the whole string in as the first element of the array 
>and returned a size of 1!
> I would appreciate any help you can give me,
> Cheers,
> Kevin.

Use split.

(@ArrayName) = split (":", $numbers);
$ElementsNum = count(@ArrayName);

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Oracle Function list

2001-01-30 Thread Jon Jacob

I found a list of some of the Oracle Functions at the main PHP site.  Is
this all there is?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] gethostbyaddr timeout

2001-01-31 Thread Jon Jacob

Aaron Gould wrote:
> 
> I'm at the end of my rope here...
> 
> I have a 100,000+ line file containing IP addresses.  For each line, I need
> to run a "gethostbyaddr" command.  However, some lines take a long time to
> timeout.  Is there a way I can decrease this timeout period to one or two
> seconds?
> 
> Thanks!!
> 
> --
> Aaron Gould
> Programmer/Web Developer
> Parts Canada - http://www.partscanada.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
I am a Perl programmer by trade, but PHP has so many qualities of Perl I
wonder if there is some sort of Alarm command.  In Perl, you would set
an alarm to control the timeout.

Does anyone know of such a function in PHP?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Suggest for List

2001-02-01 Thread Jon Jacob

This list is very active, but I find that I am deleting about 70% of the
messages about reading the first line.  Mostly, this is because so many
of the users are new that their questions are very basic.

It might be a good idea to have a beginners and an advanced list.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP and Oracle resources

2001-02-04 Thread Jon Jacob

Kristofer Widholm wrote:
> 
> Well, I've been given the joyous task of implementing the DaveTV
> project at CBS via PHP, using Oracle as a database.
> 
> I've never used Oracle before.
> 
> Looking at the PHP functions for Oracle, and having heard about it in
> the past, it seems like quite a different approach than any SQL
> database I've ever used.  I still don't get the whole point of cursor
> objects, etc. :-)
> 
> It would all be pretty hilarious if it weren't so real, and with a
> big fat deadline looming smack for the end of February.
> 
> To get to the point: Anyone have any good PHP & Oracle tutorials,
> resources, books, etc, to point me to?  EVERYTHING I see is MySQL,
> MySQL, MySQL, and all I get for Oracle are lists of unexplained PHP
> function calls.
> 
> Just point me in the right direction. I can walk there myself.
> 
> Thanks for the help.
> 
> Kristofer
> --
> __
> 
> Kristofer Widholm
> Web Pharmacy
> [EMAIL PROTECTED]
> 191 Grand Street, Brooklyn  NY  11211
> 718.599.4893
> __
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

A list of Oracle related PHP functions can be found at:

http://www.php.net/manual/en/ref.oci8.php

Good luck,

Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Attempt to unsubscribe failed

2001-02-05 Thread Jon Jacob

I have tried to unsubscribe to the list because my server will be down
for at least two weeks, however, I am still getting mail.  If someone
could pass this on to the admin I would appreciate it (and so would
they).

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]