Hi all,
I'm hoping someone can help me with this problem.
I'm using javascript for some client side field validation in a form
(method=post) that gets managed via php.
This particular form makes extensive use of checkboxes. I've always like
how when named properly (field name of "check
I'm trying to get pear up and running, and I can't get it to work.
I've tried it on a couple of different systems:
fedora c2 and c3 with php 4.3.10
I can run pear from the shell, install new modules (pager,
html_quickform,...) but when ever I try using any pear code in a php script
with the appr
e htaccess file so if the user has
already logged in via the session system, they don't have to then enter the
same data again via http authentication?
________
Kelly Meeks
Right Angle, Inc.
PO Box 356
Northampton, MA 01060
413-586-4694 ext. 11
Hi all,
I've pulled my hair out on this, so I'm turning to the experts.
I'm trying to make a directory of a site password protected:
http://www.ivepulledmyhairout.com/protected
I'm getting there from:
http://www.ivepulledmyhairout.com
I've got a login.php page that gets a username and passwor
I've got a multi-table query, (pulling from both an orders and an orders_products
(line items) file), and I'd like to group the output to help reduce multiple
appearances of of the product skus.
The query:
select
orders.orders_id,orders.date_purchased,orders.customers_name,orders_products.prod
I've got an array of values, that I need to query against a database to see if any
records have any of the values in the array - the array is a list of zip codes, and
the database contains a list of stores. Basically i need to find what stores have zip
codes in the array.
I know that mysql doe
I'm trying to get dreamweaver mx working with php/mysql and a remote server.
My remote server is named localhost. How can I change it's name? Is it as simple as
change the host value for the user's login? I've tried several things to no avail.
TIA,
Kelly
here's an example of a text file I need to read...
abcd|test1|morevalues|otherstuff
efghijklm|a;kd;laskf;alskdjf;alskdf;askldjasldkf|;askd;lakjl;asdf|al;sdjf;alf
I believe each line is seperated by a carriage return.
How can I read this in one line at a time in to a variable?
I'm assuming t
Is there any way to get a php script to grap the output from a perl script?
Can you reverse that and have a perl script grab the output from a php script?
Kelly
I saw this used in a script, but after a couple of searches didn't come up with
anything on php.net.
$phpvarhere
content;
echo $var;
?>
So, does this allow you to output mixed html/php without having to escape offending
characters with no echo or print?
Conceptually, would the syntax ab
Sorry for the OT post, quick mysql question...
I've found a couple of cool utilites that will create basic forms from a mysql table
(add/edit/delete/search), which look they could save some time coding.
However, I can't connect with them because my server is setup as localhost. I
How do you cr
Hi folks,
I might be late to the game with these questions, but I've just been bit by the
register_globals=off situation.
I'm trying to figure out the scope of what I need to change to accomodate
register_globals=off, and I need some help.
Looking around php.net, for example:
'If register_gl
Hi folks,
Having a strange problem...
I've got a php script named 'phptest' with the following code:
#!/usr/bin/php -q
I've set the permission on the file to 755, and am executing the file by typing:
./phptest var1 var2 var3
The only output I get is NULL. No matter what I do, I can't seem t
Hopefully I can explain this properly
I've got a php form, that gathers certain information, and then passes that info on to
a couple of shell scripts to move files around, create links, import data into some
mysql databases via sql files, etc.
The two shell scripts work fine when I'm logg
akethesite.sh param1 param2 param3');
echo $bashresult;
Doesn't execute the script, nothing in $bashresult
Kelly
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Kelly Meeks" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sen
Hi folks,
I'm learning shell scripting via linux, and have written a script that creates the
core files necessary for a users website from a master set of files.
Works from the shell just fine (bash makethesite.sh username pathtoputfiles
pathtogetfiles)
Trying to execute this via php, and i
Sorry for the off topic post, but this is by far the most experienced list I've found.
I've got a php page that show all the .gif and .jpeg files in an directory via a form
based drop down menu.
On the same page, I've also got a link that opens a new window, and allows the user to
upload an im
I know that it's pretty easy for a shell script to call a php page to do something.
What's the best way to have a php page call a shell script?
I'm trying to automate the creation of directories with certain files in them (people
creating their own temporary websites..), and figured a simple sh
Hi folks,
I'm trying my hand at some pattern matching, and I have a question.
I need to take all the text between the title tags of a page, and replace it. This I
can do, with the following:
$fixedfile=ereg_replace(".*","",
$fixedfile);
works like a charm
Now I want to delete everything
If I had this information stored in a database field,
">
how could I assign it to a variable and output it?
I've gone thru the info on eval() @ php.net, but it's not getting thru my skull very
well. I keep getting errors I can't correct.
Can anyone give me some pointers?
Any good tutorials
Howdy,
I know there has to be a way to grab output of an url on another site? Let's say you
wanted to get the output of yahoo.com (just for example)?
Is there any way you can stick that into a variable, and then manipulate it?
Thanks,
Kelly
I've found a really handy php script (mysqlphpbak) that will backup all mysql
databases for me via mysqldump.
I'm using a cobalt raq server, and according to them, I can create a script and put it
in a cron-daily directory, and that script will be executed.
How do I create that script? Does i
Any way to use cron to automate the mysqldumping of databases on a nighly basis?
Any examples would be greatly appreciated.
TIA,
Kelly
Hi folks, sorry for the off topic post.
I'm a semi frustrated cobalt xtr user, and I'm thinking about another 1u rack mount
server.
Does anyone have any experience building them? Any good vendors for parts? Any how-to
websites/books? Any other brands you'd recommend?
The cobalts seem to wor
Ok
Let's say I'm querying a table, and looping thru the results:
$connect=mysql_connect(host,user,pass);
$thedb=mysql_select(database1);
$thequery="select * from foo";
$theresult=mysql_query($thequery) or die (mysql_error())
while ($output=mysql_fetch_assoc($theresult)){
do stuff here..
}
Wh
Is is possible to use php to admin a password file used by a .htaccess file?
I know that sometimes it is easier/more robust to manage password protection via
sessions/database, but I've got a client that wants to use a .htaccess file.
How do you deal with the encryption of the passwords, etc?
Sorry for the off topic post.
I know that you can setup a .htaccess file that will provide basic security access to
a directory.
Is it possible to create a .htaccess file that will provide username and password
security for a specific file in a directory, without effecting the other files?
He
Hi folks,
I need to get the next auto_increment value of a mysql table thru php.
Looking at my mysql manual, it makes reference to a last_insert_id() function?
How would I use this via php, or is there some other way to do it?
Thanks
Kelly
--
PHP General Mailing List (http://www.php.net/)
T
I'm under a deadline, and for whatever reason, can't figure out why this snippet of
code isn't working. I'm trying to build a site map function, (parent,child
relationship based on id).
It almost works, but I can't get the indent feature to work correctly. Any thoughts?
here's the code:
$co
I'm trying to write some code that will look at a table of records, and output a
'tree' of those records, based on a parent/child relationship betweent their
respective record id numbers.
Anyone written anything like this they would be willing to share? I'm up against a
deadline, and I'm havi
Hi folks,
I've got a client that wants to show users dealers of their products based on mileage
from their location.
I've seen this done, and I assume it's based on either a database relating the zip
info to miles, or to some kind of hash on the zipcode itself.
Anyone have any experience with
Does anyone have any ideas/info (or can you point me to) regarding how to make dynamic
php content more search engine friendly (losing the '?' when dealing with url
variables)?
As a Cold Fusion convert, you could do something like this:
http://www.blabla.com/dynamicpage.cfm/205 were 205 would
Howdy folks,
Anyone have recommendations for ecommerce packages for linux (pref. linux/mysql/php
opensource..)?
Thanks
Kelly
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Happy New Year,
Does php set a variable that tells you the url of the page that a user has just come
from? So if I wanted to create my own 'Back' button in a pop up window, for instance?
Thanks in advance,
Kelly
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Silly question,
Does anyone have a quick example of how you would show X numbers of database records
at a time from a query? (you know, list 25 of 400 records with next/previous
navigation)...
Thanks
Kelly
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
On going Cold Fusion convert question...
I use CF Studio as my primary editor. When working with cold fusion itself, it will
let you specify an database and table, and it will then create a series of html forms
that allow you to add/edit/delete information in that table. Very, very handy.
U
Hi there,
In the middle of porting over a large cold fusion project to php.
CF has a tag called which lets you jump to another page/location.
Does php have an equivalent?
I've been able to get the combo of an include/exit to work in a similar fashion, it
just seems a bit heavy handed.
S
Hey folks,
What language is associated with a web page with a .epl extension?
Thanks
Kelly
--
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 PROTECTE
38 matches
Mail list logo