[PHP] Re: PHP won't parse under https, but will with http

2003-08-28 Thread Jason Jacobs
>> Is this a virtual host ? How did you define the AddType in httpd.conf ? Yes. And I believe our AddTypes are set for each v-host. In this case, the v-host has its own AddTypes. AddType application/x-httpd-php .php .php3 .phtml AddType application/x-httpd-php-source .phps Like I mentioned, th

[PHP] PHP won't parse under https, but will with http

2003-08-28 Thread Jason Jacobs
I'm not sure if this is the right forum for this question, but I'm hoping someone can help nonetheless. :) I installed an SSL Cert. on a site the other day for a checkout page, and the php won't parse. If I take the "s" off, it parses just fine. I have a feeling it's an httpd.conf setting, bu

[PHP] sessions on 4.3.2, register_globals On

2003-08-27 Thread Jason Jacobs
Hi all. I am switching a site I built to a new server, and the old site was written with register_globals on. I believe the php version was the same, but I'm not sure (and I can't check). The way I understand it, for older versions of php, one had to use session_register($foo) and could use t

[PHP] corrupt images

2003-05-27 Thread Jason Jacobs
Hi all. I've been struggling with getting images to upload cleanly. I'm using php 4.2.2. When I look at the uploaded file info, it gives me no errors and the file size is fine. But the picture is all messed up. I'm using the move_uploaded_file function. The max size is 8mb in php.ini, and

[PHP] creating mailing list in php?

2003-03-22 Thread Jason Jacobs
Hi y'all. I am working on a mail list app that's pretty simple...don't need to let users post, only admins, and it's very straightforward. I tested it out with mail() on 50 addresses, and it took 78 seconds plus massive server load. Part of that may be the mail scanner we have, but I also kno

[PHP] conditional question.

2003-02-26 Thread Jason Jacobs
Now, if they're both arrays, and the conditional is checking to see if they're both arrays, wouldn't it make sense that it should evaluate to "true"? Thanks for your help. - Jason Jacobs Factory7, LLC Support a Constitutional Amendment to protect the Pledge of Allegiance and National Motto. Go to www.wepledge.com

[PHP] problems with fopen

2003-02-03 Thread Jason Jacobs
I should be able to chmod since the user I'm connecting with owns the directory. Thanks for your help, as always. - Jason Jacobs Factory7, LLC Support a Constitutional Amendment to protect the Pledge of Allegiance and National Motto. Go to www.wepledge.com

[PHP] fgets and Macs

2003-01-15 Thread Jason Jacobs
y only solution (without upgrading php) to convert the text files to unix format? Or am I looking in the wrong place for that value? Thanks for your help. --------- Jason Jacobs Support a Constitutional Amendment to protect the Pledge of Allegiance and National Motto. Go to www.wepledge.com

[PHP] passing arrays

2001-06-22 Thread Jason Jacobs
Hi all.  I'm trying to pass an array to another page, and I'm not having luck.  I thought maybe it would do something slick by passing it in the url, but it doesn't.  So, how can I pass the array?  I've done it before by going through the array and making a hidden input field for each of the

[PHP] weeks

2001-03-08 Thread Jason Jacobs
Anyone know offhand a way to organize the output from a query by week? I'm writing a work log app and I want the admin to see everyone's work ordered first by lastname, and then by date. But only want that week's data to show up, and maybe a dropdown with previous weeks available. Don't go thin

Re: [PHP] Date Question

2001-03-08 Thread Jason Jacobs
Ok, I understand that the epoch is a point in time that's static, but what exactly is the epoch? I've heard it mentioned a lot on the list, but I have no idea what it really is. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] htaccess

2001-03-07 Thread Jason Jacobs
Hey folks. I have another htaccess question. I have an entire folder set up to require authentication. It's in an htaccess file, not in each page. I was sure that the variable that's passed from the authentication dialog was $PHP_AUTH_USER, but it's not working when I use that in a query. Anyo

[PHP] related to my .htgroup question...

2001-03-01 Thread Jason Jacobs
Heh...I'm a list frequenter today... Ok, so I want to be able to do some things with php. 1) add a user to the .htpasswd file I know I can use exec() to run commands on the server. The problem here is that when I do "htpasswd .htpasswd username" I get prompted for passwords twice. How the heck

Re: [PHP] Javascript & php

2001-03-01 Thread Jason Jacobs
Not exactly. I mean, like I said, you can execute a script as the action, but if you have output generated by the script, a redirect using header() or a javacsript redirect won't work (I think). You could either write all of the output (don't ask me how, but I'm sure it's possible) to a file, re

Re: [PHP] pleaaaaaaaase help!

2001-03-01 Thread Jason Jacobs
Um...yeah. Make the action of the form with the button be a script with the statement. - Original Message - From: kaab kaoutar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 11:59 AM Subject: [PHP] plese help! > Hi! > please i'm really in need of kno

[PHP] htaccess problem

2001-03-01 Thread Jason Jacobs
Hey all. I've written htaccess files and stuff with one or 2 users, and it works fine. I decided that making an htgroup file would work best in my situation though, so I went to webmonkey.com and followed their tutorial to make the htaccess files. As far as I can tell, all of my files are corre

Re: [PHP] second select how???

2001-02-28 Thread Jason Jacobs
Mmhmm...onChange() event...it's javascript. Go to webmonkey.com and search for it. They have a cute little tutorial about how to do that. Good luck. Jason - Original Message - From: Miguel Loureiro <[EMAIL PROTECTED]> To: php-gen <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001

Re: [PHP] Best browser

2001-02-27 Thread Jason Jacobs
It's been my experience that Netscape doesn't support mistakes as well as IE (example...forgetting a close td tag or close table, stuff like that), so usually if I build a page, I use Netscape to check it and it almost always works the same in IE. As far as php and ssl goes, isn't that all server

[PHP] 2 columns same name cuz of a join

2001-02-26 Thread Jason Jacobs
Hi again. :) Does anyone know how to reference a value in an array or object if the returned table has 2 fields of the same name. IE, I am querying 2 tables and returning an id value from each. On both tables, the id fieldname is "id". I know I can access the vals like $array[0] and $array[1],

[PHP] header() and require()

2001-02-26 Thread Jason Jacobs
Hi. In some of my files, I have a require statement to get some global stuff accessable. I also have some header() redirects. They don't work (they worked before I added the requires). I moved the require under one of the header()s and that one works now, but I can't move it under the other on

[PHP] how to know which web dir you're in

2001-02-09 Thread Jason Jacobs
Anyone got any ideas on how to tell what the url you're at? One of my sites is for a bank with a bunch of branches, and when people go to a site for a branch, I want the "prequalify for loan" to know where the person came from (it's the same page for all branches, but it just has a select box) an

[PHP] similar to shuffle()

2001-02-01 Thread Jason Jacobs
Does anyone know of a function in version 3.0.7 that does the same thing to shuffle(), which was implemented in 3.0.8? I'm trying to run a banner script I found, and I guess we were 1 one-hundredth of a version off for this thing... Or, how painless is it to upgrade to the latest version? I'm a

[PHP] trouble with a query object

2001-01-30 Thread Jason Jacobs
Hi all. I'm retrieving some data from a database and writing it into an object with mysql_fetch_object. In a loop, using list and each, I'm checking the values and printing them out accordingly. I get a parse error that says it's expecting a string. Here's the code... $nameArray =

Re: [PHP] Search Engine...

2001-01-25 Thread Jason Jacobs
go to www.devshed.com Look in their PHP section, and there should be something there. -j - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 3:47 PM Subject: [PHP] Search Engine... > Hello... > I would like to code a search engine to

[PHP] trouble with updating the id numbers

2001-01-25 Thread Jason Jacobs
Hi all. In the project I'm working on, I've got a table with ids that are written based on how many records are in the table. i.e., the first record has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a web interface, I don't want all these members using phpMyAdmin), the ID'

[PHP] field types

2001-01-23 Thread Jason Jacobs
Does anyone know a function to give me the mySql field types? I saw the function mysql_field_type, but that returns php types not mysql. What I wanna do is if the type of the field is "Text" then I wanna make a "textarea" to edit and add stuff. Thanks. Jason -- PHP General Mailing List (htt

[PHP] non-php related question.

2001-01-23 Thread Jason Jacobs
Hey guys and gals! I have my personal site on go.com, and I wanna move it. The problem is I don't have it all backed up on my machine (I think I only have some of the images), but I want to move it to my server at work. Does anyone know of a script of some sort that will go to my site, copy all

[PHP] selected = true

2001-01-22 Thread Jason Jacobs
Hey all. Does anyone have any ideas how I can carry over a selected value? :) It's probably easy but my mind is making it difficult. A value is stored for a record in the DB which had been previously assigned through a select statement. If that record gets edited, the value that was chosen thr

Re: [PHP] question (as if anything else would be in an email to the list...)

2001-01-19 Thread Jason Jacobs
ou the thingy > alert(document.formname.inputNameToChange.value); > } > file://--> > > > > > > label1 > label2 > > > > --end cutting-- > > DanO (javascript is your friend, not your enemy!) > > > -Original Message- > From: Jason

Re: [PHP] question (as if anything else would be in an email to the list...)

2001-01-19 Thread Jason Jacobs
ou the thingy > alert(document.formname.inputNameToChange.value); > } > file://--> > > > > > > label1 > label2 > > > > --end cutting-- > > DanO (javascript is your friend, not your enemy!) > > > -Original Message- > From: Jason

Re: [PHP] question (as if anything else would be in an email to the list...)

2001-01-18 Thread Jason Jacobs
> then again, in the context of what you're doing, why not just build in a > little php logic that knows if your select is a certain value, something > else should happen? Well, the select can't be a value until the user choses something (the stuff). Based on the option the choose, a value needs

[PHP] question (as if anything else would be in an email to the list...)

2001-01-18 Thread Jason Jacobs
Hi again. I have a new problem. I have a form with a drop down list. When the user chooses something from the list, I need a variable to change values so it can be used upon submission of the form. I thought maybe I could throw a little line of code into an onChange() function in the tag, but

[PHP] error message handling

2001-01-17 Thread Jason Jacobs
I tried to send this before, so if I did, forgive me, but I don't think it worked last time .:) I'm trying to find a way to handle errors by number. For example, if I get a "directory already exists" error, I want to know what the number that is so I can check the return value on the function th

[PHP] password()

2001-01-15 Thread Jason Jacobs
Hi. I use password() to excrypt my passwords when I'm adding users to my mysql database. I'm wondering if there's a function to use to un-encrypt it (for a web interface to change the password, and so the admin who is editing user info can see what it is). Thanks for any help. Jason -- PHP