Don wrote:
Hello,
Has anyone run into problems using PHP to access a database (MySQL) and
build a form. I am trying to build a form that contains anywhere from
10 to 20 tables. Each table will contain drop down menus, text boxes
and text areas. As you may envision, this form can
using PHP? I figure that since PHP is server side, I will have to
use JavaScript to provide some of the functionality I require but how do I set and
access PHP variables from JavaScript?
If the above is not workable, Is there another way I can accomplish this?
Thanks in advance,
Don
Does any one know how I use ClibPDF with PHP? I assume I have to recompile PHP with a
switch but I can't find anyting in the docs.
Thanks,
Don
of the next row so I can read it, etc... until eof?
Thanks,
Don
each line and extract the fields. My question is, how do I
search for the TAB character? Is it as simple as searching on the ascii code by using
the chr function? If so, what value do I use in chr to look for TAB?
Thanks,
Don
(but the same group)?
Thanks,
Don
I did. That's why I'm confused. phpinfo() is telling me that the user is
myself (I don't see the group). So what is the permission difference
between running PHP and logging on to the server via telnet as myself?
On Tue, 12 Mar 2002, Don wrote:
use phpinfo() to find that out...
Hi
Hi,
I need to create a dBase III file however, my ISP does not have PHP compiled with
--enable-debase. Does any one have or know of a class that could accomplish this?
Thanks,
Don
Hi,
Does anyone know of a personal web server that I can installon my Win 98 machine that
supports PHP 4.x?
Thanks,
Don
Is there a way, in PHP, for me to read client-side files or upload them to a server?
Thanks,
Don
' '--with-gettext'
When I attempt to start apache, I get the following error message:
Cannot add module via name 'mod_php4.c'. not in list of loaded modules.
I've sourced the net but could not find a resolution. Does this have anything to do
with /etc/ld.so.conf ?
Help!
Don
states the full path to apxs so I still don't get it?
When you use the --with then you need to specify a directory...
Read up on the configuration of php on php.net
Thank you,
RAY HUNTER
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1
for mod_php4.c, why would it tell me it's not on
the list?
Thanks,
Don
Did you add the module info to your httpd.conf file?
Thank you,
RAY HUNTER
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:56 PM
To: Ray Hunter; 'php list
=\searchform\ action=\javascript: history.back();\\n;
But, how can I tell where the user is coming from?
I've seen these types of searches before so maybe someone can clue me in?
Thanks,
Don
Would that solve my probem with the BACK button?
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Don' [EMAIL PROTECTED]; php [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 10:38 PM
Subject: RE: [PHP] Can I set the value of variable depending on when the
page is loaded
Hi,
Does anyone have a PHP method of passing variables from a form to another page without
using sessions or encoding within the URL?
I remember someone mentioning a class but I lost the reference. My site uses PHP
4.0.1Pl1
Thanks,
Don
I can place/remove information
into/out of the array.
Thanks,
Don
Hi,
I'd like to print one or more specific characters many times. For example, let's say
I'd like to display the '*' 50 times on one line. Is there a function that will do
this? Something like:
? replicate('*',50);
Thanks,
Don
()
get_html_translation_table(HTML_ENTITIES)
I've read the documentation but am still confused about what to use when.
When passing data from forms to database, which do I use?
When retrieving data from database to display in forms, which do I use?
Thanks,
Don
cannot get that line to appear on the browser. Any ideas?
Thanks,
Don
Hi,
I am having trouble with sessions. I've created a user login/password
section that uses session variables. Within this section, I have a form
where the user enters data and submits. When the user clicks on the Browser
back button, they should get back to the form with their data intact.
,
Don
on whether the machine is Windows or UNIX? If so, is there a system
independent routine?
Thanks,
Don
Hi,
I have a class that allows me to send e-mail with an attachment. I have a form that
gathers information and I would like to allow the user to attach a file from his local
drive. Is there a PHP routine that allows the user to browse his drive and choose a
file?
Thanks,
Don
???
Therefore, the attachment in my mail class
ends up being empty and not sent!!!
it's HTML
input type=file name=
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 3:37 PM
To: php
Subject: [PHP] emailing attachments
Hi,
I have a class
Is there a limit to the number of variables once can pass in a URL using urlencode()?
I seem to be hitting a wall where the browser returns a page not found once I go past
a limit and I can't find any bugs in the code.
Thanks,
Don
) and I have one form that must be exceeding the limit.
Question: Is there a way to emulate my above scheme via an HTTP POST as POST has no
limit? Alternatively, is there another way to pass variables from a PHP script to a
HTML form where I won't run into this limit?
Thanks,
Don
Hi,
I have a PHP script that uses the following code to redirect to a page of the user's
choice:
header(Location: http://www.mypage.net/;);
In examples of this type of coding in various scriots, the above line is always
followed by the statement:
exit;
I am wondering why. When executing
to head me in the correct direction would
be appreciated.
Thanks,
Don
--
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]
have one POST operation, I'm in a quandary here.
Thanks,
Don
--
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]
Is there a method to test if Scripting has been disabled in the browser?
Thanks,
Don
--
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]
Hi,
I'm looking at the 'String' section of the online documentation. I cannot
find a function that converts a numeric to a string, e.g., 1 -- 1.
Am I blind or does this not exist?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
I am running PHP 4.01 in a FreeBSD environment with Apache server. Is there a way I
can use PHP to browse the users PC and choose a
file (choose = placing it in a text box)?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
I am running PHP 4.01 in a FreeBSD environment with Apache server. Is there a way I
can use PHP to browse the users PC and choose a
file (choose = placing it in a text box)?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
$prt_string;
}
My problem is that the search and replace is NOT working. According to the manual, my
syntax for str_replace is correct. Does anyone have an idea?
Thanks,
Don
Thanks,
Don
Code
--
$pdf = cpdf_open(0);
cpdf_set_creator($pdf, bl_print.php);
cpdf_set_title($pdf, Proof B/L);
cpdf_page_init($pdf, 1, 0, 612, 792);
cpdf_begin_text($pdf);
cpdf_set_font($pdf, Times-Roman, 30, WinAnsiEncoding);
cpdf_set_text_rendering($pdf, 1);
cpdf_text($pdf
Thanks,
Don
Code
--
$pdf = cpdf_open(0);
cpdf_set_creator($pdf, bl_print.php);
cpdf_set_title($pdf, Proof B/L);
cpdf_page_init($pdf, 1, 0, 612, 792);
cpdf_begin_text($pdf);
cpdf_set_font($pdf, Times-Roman, 30, WinAnsiEncoding);
cpdf_set_text_rendering($pdf, 1);
cpdf_text($pdf
Hi,
I have a variable containing a date in the form of 12/03/01. I wish to display it
as:
December 03, 2001.
Is there a built in PHP method for doing this or am I on my own and have to write by
own functions (which I can do).
Thanks,
Don
Hi,
I have a link that opens a small window. I'd like to center it in the screen
regardless of the resolution in use. Does PHP have a way of returning the
width/height of the current screen in pixels?
Thanks,
Don
Hi,
Has anyone tries any test loading PHP pages into IE 5.x and Netscape
4.7x?
As an experiment, I have a page that issues a phpinfo(). WIth I.E. 5.5,
it takes about 3 seconds. With Netscape 4.77, it takes almost 20
seconds.
Thanks,
Don
--
PHP General Mailing List (http://www.php.net
Hi,
I have a cron script that issues a:
mysqldump --opt -ppassword myfile_db /home/ftpadmin/pub/myfile_db.backup
Now, I wish to do the opposite, that is, restore it into my database. After
issuing a:
mysql -p
and entering the password, what command do I enter to restore my database
from
to configure PHP to execute from .html files?
P.S. As I write this, I don't discount the possibility of this being an
Apache config. If so, I apologize for posting to this list.
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
guessing that I will be inserting PHP code and HTML code
intertwined?
IS PHP my ticket for accomplishing the above?
Thanks,
Don
--
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
Hello,
I'm interested in a comparison study for using PHP vs. Perl for CGI
programming. Specifically, I'm looking for information comparing the
two in terms of speed, memory usage and efficiency. Any information or
url's would be appreciated.
Thanks,
Don
--
PHP General Mailing List (http
Does anyone have examples of using PHP to process forms? I'd also like
to know if I can embed the code in my html file or do I have to write a
CGI server side script to do it?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Does someone have a snippet of code that retrieves today's date,
subtracts 14 days and converts the result to a string in the form
"MMDD"?
If possible, please reply to my email.
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I would like to know if there is a way to accomplish the following:
In my HTML file, I have the following:
script language="php" src="/phpscript/testscript.php"/script
In the testscript.php file, I have:
?PHP
echo "Hello Don";
echo "What is up?";
?
@[255.255.255.0].
Thanks,
Don
--
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]
d1". How may I accomplish
this?
Thanks,
Don
--
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]
uot;;
}
The docs state that references are NOT pointers. So., how can I
access my variables? I could not find any information on Macros or
Pointers.
Thanks,
Don
--
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]
.
For instance: say the first list is of the states, then the second list
updates to contain cities within that state as options.
Thanks,
Don
into a political
debate on ADA standards and poverty in Africa. :-)
Thanks
Don
for the advice in advance.
Don
the form and populates the new form with
the entries previously entered, O'Toole becomes O\
when I put similar entries into fields that are not run through this line,
they go to the DB as typed.
Any advice?
Thanks again
Don
I've been having my forced downloads sometimes finish prematurely using
readfile(). I'm downloading a Windows .exe file.
I've read several posts that have suggested the substitution of a fread/feof
loop to write out the download in smaller chunks. I tried using a function
(readfile_chunked) I
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
but I know if I can change that
is there some other way to fix this problem?
Don
# [EMAIL PROTECTED] / 2007-01-20 21:50:48 -0700:
I have a line of code that validates form info for some POST vars
an example of how to do this?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as all the following
elements and I am left with:
$myArray = array(array('1','2','3'));
when I really want:
$myArray = array(array('1','2','3'), array('7','8','9'),
array('10','11','12'));
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Won't unset() destroy the entire array?
mike [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can't you unset() it? Sorry for top posting I'm on an iPhone
On Aug 14, 2008, at 7:30 PM, Don [EMAIL PROTECTED] wrote:
Hi,
Let's say I have the following array:
$myArray = array(array
Hi,
Is there a way, using PHP, to determine if session cookies are enabled (or
disabled) in the user's browser privacy settings?
Thanks,
Don
() and the html_entity_decode() but it
still shows as blank.
How can I display this please???
Tks,
Don
($value);
}
return $value;
}
Thanks
_
Don Proshetsky,
C.I.O.
LCL Navigation
This email and any files transmitted with it are strictly confidential and
may be privileged information. It is intended solely for the individual or
company to whom it is addressed and may
: Stut [mailto:[EMAIL PROTECTED]
Sent: Friday, June 30, 2006 3:49 PM
To: Don
Cc: php list
Subject: Re: [PHP] Displaying data from a MySLQ table
Don wrote:
Hi Have have a varchar field in a MySQL database which contains the
following
905.362.6000ls'L'
I am trying to display it on my web page
in the data which fgetcsv() cannot parse
properly. I don;t see anyway around this using fgetcsv(). Has anyone
written a custom routine for this?
Code
Snippet
---
$vvFile
='myfile.csv';$fph = fopen($vvFile,"r")if ($fph)
{
while
(($data = "" !== FALSE) {M
/
permissions
in docroot? Or is there some other solution?
Thanks in advance.
-Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the DB tgz file but there is no install document.
Can someone point me to the proper URL that explains how to install a PEAR
package?
Thanks,
Don
Hi,
I am using php 4.3.11 on a RedHat Linux server running Apache. I have a
requirement where I need to take a flat file containing formatted data and
produce an Access 97 MDB file.
Does anyone know of a class or library that will enable me to do this?
Thanks,
Don
Hi,
I need to search a MySQL table based on a condition that can change at
runtime.
Example
==
$condition = CustCode = $HTTP_SESSION_VARS['logoncustcode'];
other code
$queryID = mysql_query(SELECT * FROM CustTariff WHERE . $condition .
ORDER BY CustCode);
Will the above work?
Thanks,
Don
('REQUEST_METHOD') . '_VARS';
global $$request;
if ($$request[$val]['size']) {
However, it is always failing the test and therefore not working. Any ideas?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.435 / Virus
been reloaded. Is this a normal effect of setting
register_globals OFF? Is there a way to continue caching?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
I noticed that register_globals was set ON in my php.ini file so I
changed it to OFF in as per the security warning. I've noticed a side
effect. When I submit a form via POST and then go back from the results
page
,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I try in I.E., it works fine.
When I try in Netscape 7, I get a page not found error. Looking at Netscape's address
bar, it says:
http://www.lclnav.com/staging_area/login/..%5Cphpscript%5Cgeneral%5Cformmail.php
Why is it encoding my URL???
Thanks,
Don
---
Outgoing mail is certified Virus
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]; php list [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 4:24 PM
Subject: Re: [PHP] Why is my URL encoding itself?
--- Don [EMAIL PROTECTED] wrote:
In my PHP page, the FORM line reads as:
echo
Hi,
How do I access $DOCUMENT_ROOT when register_gobals is set off? I think
there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't
find it in the documentation.
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
force a reload the first time a page is
called?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
Are Classes and Objects supported in PHP 3.0.14?
I am getting an error: Call to unsupported or undefined function
phpmailer()
on a server running PHP 3.0.14 but it works in PHP 4.3.2
Thanks,
Don
_
This email and any files transmitted with it are strictly confidential and
may
Hi,
Is the a PHP command that will empty the browser's current cache?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if session
cookies are enabled in the user's browser?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
for?
Thanks in advance,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I altered the configuration to say -- --with-curl=/usr/bin as that is the
location of the curl executable but I am still getting the compile error.
Any other suggestion?
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]
Cc: php list [EMAIL PROTECTED
;;
So, all I did was change the 7.9.5 to 7.10.3 and no more compile error.
Silly huh?
- Original Message -
From: Adam Voigt [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 11:19 AM
Subject: Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to
odderror
Ok, now that I've solved my 'curl' problem, I've run in to another problem.
Now I am getting teh following error:
configure: error: snmp.h not found. Check your SNMP installation.
I've installed the ucd-snmp rpms so what am I missing?
Thanks,
Don
- Original Message -
From: Marek
/local/php-4.3.1/ext/curl/curl.c:1077: `CURLINFO_REDIRECT_TIME'
undeclared (first use in this function)
make: *** [ext/curl/curl.lo] Error 1
Assuming you also installed ucd-snmp-devel-*.rpm, likely you need to
specify --with-snmp=/usr or --with-snmp=/usr//include/ucd-snmp
Don wrote:
Ok, now
Yup, you were correct. the 7.10.3 rpm was installed but I forgot to install
the 7.10.3 development rpm. I did so and all compiles fine now.
Thanks,
Don
My guess you have a mess in your curl library installation. For example
you use header from version 7.9.5 and specify that you have version
. This extension may be part of the PHP server
(compiled-in), otherwise it needs to be loaded dynamically. Its name is
probably mysql.so or mysql.dll. phpMyAdmin tried to load the extension but
failed.
What was I missing fom my install that is causing my problem?
Thanks,
Don
---
Outgoing mail
Hi,
Trying to install PHP with the ability to interact with MySQL. In my
configuration, I've included the option:
--with-mysql=shared,/usr
There are no compile errors. Any idea why PHP is not recognizing any MySQL
functions?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked
Forgive my ignorance but I don't follow. I am not getting any compiling
error messages or warnings.
2) Installed PHP 4.3.1
One of my config options was --with-mysql=shared,/usr
I may be completely off base, but where did you intend the mysql
installation to go? Did it end up there? (I'm
want to start
over from scratch? I've alrweady upgraded the MySQL package to version
4.0.12.
Thanks,
Don
2) Installed PHP 4.3.1
One of my config options was --with-mysql=shared,/usr
I may be completely off base, but where did you intend the mysql
installation to go? Did it end up
The expected MySQL section is not even listed in the phpinfo() page. This
would explain my undefined function errors when attempting MySQL
functions. What I can't figure out is why MySQL is not being recognized by
PHP.
At 16:58 03.04.2003, Don spoke out and said:
[snip
' and found the following.
However, any change I made to the mysql config. directory gives me the
error:
error: Cannot find header file under directory
Please tell me what the directory should be in my mysql config option.
Thanks,
Don
/usr/bin/mysql
/usr/lib/mysql
/usr/libexec/webmin/caldera/mysql
- Original Message -
From: Jay Blanchard
To: 'DonPro' ; 'php list'
Sent: Thursday, October 31, 2002 3:43 PM
Subject: RE: [PHP] Saving form input fields to MySQL br clicking on a button
[snip]
I created a button called Memorize but how do I have the page save the
values to my MySQL
,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The link: HYPERLINK
http://www.php.net/manual/en/install.configure.phphttp://www.php.net/manua
l/en/install.configure.php no longer functions. Where can I get a list of
all the PHP 5 configure options at compile time as well as documentation and
what they do?
---
Outgoing mail is certified Virus
Has anyone had any luck installing with the --with-imap configuration
option. IMAP doesn't seem to be installed (nor imap-devel) and the c
library specified in the docs at php.net does not compile.
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
is, is there a test that will tell me a visitor has
blocked cookies, so I can suppress any actions specific to a session?
TIA.
-Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'd like to do something with sessions that should be easy. But I'm new
to this, and obviously I'm missing something somewhere...
I want to use cookies if the visitor allows, but tack the session info
(SID) get style on the URL of a linked page *only if* the visitor
blocks cookies. I've tried
an already
installed Apache in configured?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.806 / Virus Database: 548 - Release Date: 12/5/2004
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi,
Have been using RedHat and Fedora Systems. When I install the OS, Apache
is
usually installed already and I download PHP and install manually. I'd
like
to install Apache itself but not sure what configuration to use. Is there
a command similar to the phpinfo() command that can
get the following error:
Starting httpd: Syntax error on line 191 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: libmcrypt.so.4:
failed to map segment from shared object: permission denied
[FAILED]
Any idea why mcrypt is crapping out with PHP?
Thanks,
Don
1 - 100 of 509 matches
Mail list logo