The best way IMHO, to debug problems like this is to echo out your
insert query to the screen and not actually run the query, or run it and
make sure you use:
$sql = INSERT INTO employees (first,last,address,position) VALUES
('$first','$last','$address','$position');
$result = mysql_query($sql)
that's: $_SEVER['HTTP_HOST']
Cirstoiu Aurel Sorin wrote:
I also tried $_HTTP['HTTP_HOST']. Not working. The host has php 4.1.2
version
--
Cirstoiu Aurel Sorin
InterAKT Support
http://www.interakt.ro
Erwin [EMAIL
Well, when you run the command:
$sql2_results = mysql_fetch_array($top_level);
The first time, it automatically increments the result...
so you fetch the data bu do nothing with it...
so when you get to your loop, you are already at the second entry in
your database..
So, remove the first
;
echo td$tabledata[6]/td;
echo td$tabledata[2]/td;
echo td$tabledata[3]/td;
echo /tr;
}
print /table;
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 3:34 PM
To: Steve Gaas
Cc: [EMAIL PROTECTED]
Subject
man chown
(change ownership) (i.e. chown my_username:my_groupname directory)
-or-
man chmod
(change permissions)(i.e. chmod uga+w file_name -or- chown 4777
file_name)
-Brad
Bryan wrote:
Situation:
I want to create a file to a directory, but the premission denied, how to
solve this problem
Can't you make a form?
Lets say you have a lexical database for categories like:
IDNAME
1 Anime
2 Action
etc...
then in the form so:
select name='cat'
?php
$query = select * from categories;
$result = run_query($query);
while($row = fetch_array($result)
{
echo option
How about giving this page a look over:
http://www.macromedia.com/desdev/topics/php.html
Here's an article especially for using PHP and MySQL with Flash MX
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
HTH
-Brad
Thomas Edison Jr. wrote:
I have a mySQL db, and a bunch
I think it is a global configuration setting, so it would not be
possible to turn it off for an individual script.
Just use the $_SERVER['variable_name']
-Brad
Anup wrote:
Hello I am working on a PHP server which has register_globals off. In my
script is there anyway to turn it on, just
Shoudn't it be:
if ($update_type == update_Williams) {
mysql_query(INSERT INTO events_Williams ('user', 'detaildesc', 'index',
'reference', 'date_added') VALUES
('$cookiewho','$add_Williams','','$row_num','$last_update'), $sql4)
or print mysql_error();
}
You need the '(' and ')'
Does this work for the original poster?
Does not work for me (of course I am going the opposite way, wanting to
test scripts one-by-one to verify they work with register_globals off)
running: ini_set(register_globals, 0);
(and, tried both) ini_set(register_globals, Off);
According to the docs
unzip that and cd into it and read the INSTALL file
tar -xzvf php-4.2.3.tar.gz
cd php-4.2.3
less INSTALL
HTH
-Brad
Anil Garg wrote:
hi,
i am a newbie to php...
i have downloaded php-4.2.3.tar.gz from http://www.php.net/downloads.php
can someone please point me to the right documentaion
Of course they may not always know that the user would insert a '$' or a
'.' which is what you are keying off of. I am not all that familiar
with ereg* functions, I might attack it with stepping through charater
by charater and is is_numeric($c) returns true, place it applend it to
another
I would say that is the best way, or if you have other information
there, write to abother directory that is owned by apache
-Brad
Donahue Ben wrote:
I have a php script that tries to write files in a
particular directory. When the script writes files
the ownership is apache. The problem
I like textpad, because it will write files in a Unix friendly way, i.e. none of that
annoying ^M at the
end of lines! :-)
Bryan McLemore wrote:
Hi guys, just wondering if anyone could recomend a good editor that is based on
windows. Thanks, Bryan
--
PHP General Mailing List
There are common one-way encryption, like md5, this is commonly what I do, I
encrypt with md5 when I insert the password into my database on the DB
server, and then I encrypt with PHP on the Web server side, so therefore, I
am only ever sending my md5 encrypted password over the wire. Since it
I think this should be a good reference for you:
http://www.php.net/manual/en/function.mysql-fetch-array.php
HTH
-Brad
Ken wrote:
I am kind of new to PHP. I know how to use a select statement and a query to
get data out of a table in MySQL, but how do I assign those fields to
variables? I
Jochem Maas wrote:
Edward Kay wrote:
...
But the advert is for a GRADUATE developer ;) Whilst your messages to this
list show you know a lot about PHP, I doubt you've managed to fit a degree
in yet :)
What does a graduate php developer earn in Scotland? and is it
the the piece of
Something like this will get it into a time stamp...and then you can do
your calculations with ease, and reformat...
?php
$str = 20070617T193500;
list($date, $time) = explode(T,$str);
$year = substr($date, 0, 4);
$mon = substr($date, 4, 2);
$day =
One easy solution would be to get the ID before you do the insert
i.e. in Oracle you would run the query:
select some_id_generating_seq.nextval from dual
and then you would use that id to insert and you would know the id after
that...and the DB would take care of locking and such.
So, check
I would start with suppling the entire path of for php in the cron. The
path in the cron environment may be vastly different then the path in
your shell environment...
so: /path/to/php file.php
See how that works for you, of course I am assuming it runs fine from
your command line...
-B
Brad Bonkoski wrote:
Jason Pruim wrote:
On Aug 1, 2007, at 9:55 AM, Michael Preslar wrote:
@mysql_connect('localhost', 'user', 'password') or die(Cannot
connect to DB! . mysql_error());
..
cannot connect to DB!Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock' (2)qs
Jason Pruim wrote:
On Aug 1, 2007, at 9:55 AM, Michael Preslar wrote:
@mysql_connect('localhost', 'user', 'password') or die(Cannot
connect to DB! . mysql_error());
..
cannot connect to DB!Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock'
Payne wrote:
Guys,
Got a quick question. I got a sql statement works when I pass it from
the cli. but if I try in php I get nothing.
This is the statement.
Select ip, date, time, CONCAT(city, ', ',country) as location from ips
where country !=' ' and date='`date +%Y%m%d`' order by country
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16 name=payment_amount
This is all fine and dandy and works as generically as it can. BUT, the
problem is that I need to make sure the user didn't
Something like this might work:
a href=javascript:history.go(-1)
(To go back 1 page)
Of course if this is a form post, it would repost the data resulting in
that annoying pop-up on most browsers indicating the page is being
re-posted.
Maybe you could write out the post variables to the
Why not just have another array...
$bag = array();
$item[]
array_push($bag, $item);
then store the bag in the session.
so, you would have count($bag) items in your shopping cart, and you
would be able to easily access them.
Just a thought, instead of munging variable names.
-B
Ed
Any insights or tips into this?
httpd: Syntax error on line 232 of /home/www/conf/httpd.conf: Cannot
load /home/www/modules/libphp5.so into server:
/home/www/modules/libphp5.so: undefined symbol: _pcre_ucp_findprop
TIA.
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi Bob,
Based on what you said, I would say the normal coding way of handling
this is with an array.
If you are unfamiliar with them, www.php.net/array would be a good place
to start.
-Brad
bob pilly wrote:
Hi all
Does anyone know if you can assign a new variable name based on the contents
www.phpdoc.org
similar to javadocs, and works pretty well.
-Brad
Paul Zwiers wrote:
Dear all,
With a growing base of previous PHP work (not to be be mistaken for a
framework :) ) I also find myself recoding and reinventing the wheel.
Something I really do not want to do.
I am looking in
blackwater dev wrote:
I have a web server and an images server. My web server doesn't have
enought space for the images, hence the images server. I have to
download
properties from a realty database hourly and the data goes in to a db
on my
webserver while the image needs to be taken from
Ross wrote:
At the mometn I have this
function display_result($module_no) {
$count = 0; //Of course you *should* initialize $count
$start = 1;
$end = 3;
if ($module_no != ) {
$module_no =unserialize ($module_no);
foreach ($module_no as $number = $data) {
$count=$count+1;
Chris W. Parker wrote:
Hello,
Generally (well, actually 100%) I just use whatever version of PHP is
included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS).
None of the versions I've used have come with PHP5 and I'd really like
to get with the times and use PHP5.
I know that
Really depends on how you display the calendar...
if you go day by day building the table cells, then it should be easy
enough because you should already have the date you are working with...
so a query like select count(*) from events where date='date' and if
count is 0 then display it
Hello All..
Had this problem in the past, and always programmed around it, but
wondering if there is an easier way.
Good Example:
Creating a setup for connecting to a mysql database. Want to do
something simple to make sure they have entered a valid
username/password for the database.
So,
Stut wrote:
Brad Bonkoski wrote:
Had this problem in the past, and always programmed around it, but
wondering if there is an easier way.
Good Example:
Creating a setup for connecting to a mysql database. Want to do
something simple to make sure they have entered a valid
username/password
Chris W. Parker wrote:
Hello,
Is it a better practice to set flags to determine the action of your
code or is it perfectly acceptable to have your code determine what it
should do based on the existence (or lack thereof) of data?
For example:
?php
if($value == 1)
{
$flag = true;
}
Hmm..
in my system, /usr/lib is a sym link to /usr/lib64...
but..
Try this configure option:
--with-openssl[=DIR]
-B
Marten Lehmann wrote:
Hello,
openssl is compiled for x86 on my system, so the libs are in
/usr/lib64 rather than /usr/lib. But configure only looks in /usr/lib
and gives me
Some already good workarounds given for this question...
BUT.
Is it even possible to override a core function?
Like I wrote a function called 'exit' and I got a parser error, which
leads me to believe it is not even possible to override the core
functions. Is this true of ALL PHP functions?
Have you tried echoing out your query to run on the backend itself?
Maybe there is some problem with how your join is being constructed...
Perhaps a left outer join is called for? Hard to tell without having
knowledge of your table structure and table data...
-B
Dave Goodchild wrote:
Hi all.
Chris W. Parker wrote:
Hello,
This is off topic but I wanted to get the list member's opinions on the
subject as it will probably benefit someone else.
Currently I don't use version control at all. What I do instead is have
one directory that contains my development website and one
the ini directive for this is: asp_tags
and it appears you can set them in the .htaccess file on a per directory
basis.
See the user contributed notes on www.php.net/ini_set
HTH
-B
Beauford wrote:
Is there a way I can use % % instead of ? ? for the opening and closing
tags of a php script. I
benifactor wrote:
ok, about five minutes ago i decided to learn classes and delve into php's oop
side.
what i came up with was this...
//start example code
class newsletter {
function send ($email,$subject,$message) {
if ($email) {
echo(the following message was
Ross wrote:
$mail_body .= font size=\2\ face=\Verdana, Arial, Helvetica,
sans-serif\ stripslashes($mail_text) /font;
this just returns
{stripslashes(it\'s
a
testss}
$mail_body .=font size=\2\ face=\Verdana, Arial, Helvetica,
sans-serif\ .stripslashes($mail_text). /font;
--
PHP
Deckard wrote:
Hello,
I have this code to write three lines in a file (config.php):
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = ' .
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file
.
'$mysql_user_password = ' . $mysql_user_password . \n\n . '?';
The variables contents should be written in the files within quotes, like:
$mysql_username = 'deckard';
This is getting me nuts.
Any ideas ?
Warm Regards,
Deckard
Brad Bonkoski wrote:
Deckard wrote:
Hello,
I have this code to write three
Deckard wrote:
Hi,
I've burned my brain, checked other sites and come to a code that works.
I ask you, please, to see if this makes any sense and/or can be improved.
I'd really appreciate.
Warm Regads,
Deckard
dbInsert.php:
---
[EMAIL PROTECTED] wrote:
hi to all,
I have table orders with primary key order_id. I have table uploaded_files
with primary key ufid and uploaded files are linked to orders by order_id
column.
I have to list all orders and uploaded files. this works fine:
$query = mysql_query(
select
João Cândido de Souza Neto wrote:
Hello.
In the follow code:
$numbers=array(1,2,3,4,5);
foreach ($numbers as number) {
...
}
Inside foreach, could i know if i am in the last element of the array
$numbers?
Sure, maintain a count in the foreach and then compare to
Edward Kay wrote:
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same command (with
appropriate values) in the command line it creates the dump file. What
could be
Ahmad Al-Twaijiry wrote:
Hi everyone,
I create a php script that will run every minute (by cronjob) and
update some database tables (php 5, database mysql 5, tables type
innodb)
the problem is that I want this script to run only one at atime (only
one process from this script can run )
for
Ashley M. Kirchner wrote:
Say I have an array containing ten items, and I want to display
them in a table as follows:
5 4 3 2 1
10 9 8 7 6
What's the best way to loop through that array to do that? My
thinking gets me to create a loop for 5 through 1, repeated twice, and
the
Ashley M. Kirchner wrote:
Say I have an array containing ten items, and I want to display
them in a table as follows:
5 4 3 2 1
10 9 8 7 6
What's the best way to loop through that array to do that? My
thinking gets me to create a loop for 5 through 1, repeated twice, and
the
[EMAIL PROTECTED] wrote:
hi,
I have query to select products for specific category from DB, something
like:
SELECT prod_id, prod_name,...
FROM products
LIMIT $From, $To
where $From and $To values depend of on what page you are. let say there
are 100 products and I'm listing 25 products per
bruce wrote:
hi...
haven't used php classes.. so this might not pertain.. but do php classes
have the concept of public/private functions?
Not in PHP 4
are the parent functions that
you're trying to access public/private?
-Original Message-
From: blackwater dev [mailto:[EMAIL
[EMAIL PROTECTED] wrote:
MD5 is a hasing algorithm.. one-way.. really only good for checking known
values and keeping them 'private', like storing passwords in a database. That
way, if someone breaks into your database, they don't get the passwords, only
the non-reversible MD5 hashes of the
[EMAIL PROTECTED] wrote:
Still.. that has nothing to do with how well known MD5 is (so I stand by my point).
Was not trying to refute your point. Just pointing something out with
regards to the security of MD5 hashes, and what being well known or
at least popular does for you. What you
Hello All,
I have this Oracle function, and within my code I call it like this:
$sql = BEGIN :result := my_funtion_name('$parm1', $parm2, null, null,
null); END;;
$stmt = $db-parse($sql);
$rc = null;
ocibindbyname($stmt, :result, $rc);
$db-execute($stmt, $sql);
Dan Shirah wrote:
Hello all,
I am trying to pull data and then loop through the multiple results
display
in seperate rows.
My database contains several tables which are all tied together by the
credit_card_id. After running the query, it ties the unique record
together
by matching the
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500:
Hello All,
I have this Oracle function, and within my code I call it like this:
$sql = BEGIN :result := my_funtion_name('$parm1', $parm2, null, null,
null); END;;
$stmt = $db-parse($sql);
$rc = null;
Brad Bonkoski wrote:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-18 11:46:10 -0500:
Hello All,
I have this Oracle function, and within my code I call it like this:
$sql = BEGIN :result := my_funtion_name('$parm1', $parm2, null,
null, null); END;;
$stmt = $db-parse($sql
IMHO,
it really depends on a couple of things...
1). how you use it
and 2). How much control you want...
If you have a single point of entry for database actions, like a class
that mimics the database structure and handles updates, inserts,
deletes, then it makes sense to turn them off to give
Create a page like this:
?php
phpinfo();
?
and see what the output tells you about mysql...might shed some light on it.
-B
Alain Roger wrote:
i've seen that non of extension are activated...neither mysql.dll nor
mysqli.dll
after uncommenting them and restarting Apache, it still does not
:\WebServer\PHP511\ext
4. i restarted apache
5. phpinfo still provide no info regarding MySQL
what should i do ?
On 4/5/06, Brad Bonkoski [EMAIL PROTECTED] wrote:
Create a page like this:
?php
phpinfo();
?
and see what the output tells you about mysql...might shed some light on
it.
-B
1. Look at this: http://javascript.internet.com/forms/form-focus.html
2. See Below
3. Take a look at this function:
http://www.php.net/manual/en/function.date.php
-B
marvin hunkin wrote:
Hi.
doing this script for an assignment, and got it basically working.
the only problems are:
1.
short_open_tag
Dallas Cahker wrote:
What is that called and where in the php.ini file do I enable it? Sorry if
this is a stupid question but since I dont know what its called it makes it
difficult to google it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am using PHP with Oracle, but not executing stored procedures.
I assume you are already validating the contents of the $addr variable
before you bind it?
Otherwise, no real ideas here...
-B
Jay Blanchard wrote:
[snip]
I have a stored procedure in Oracle;
p_BILL_TO_ADDRESS1 IN
Hello,
I have a form for user interaction and part of it is a select box with a
large number of options from a database ~12K options.
Currently I have a function which queries the DB to get fresh data and
loads the HTML (option value=XY/option) into a string, so the DB is
only hit once,
but
Good point...
Maybe the gods of usability can kick the user's in the butt to get them
to clean up the data!
Previously they used a free text field, which is why the problem is as
bad as it is currently
All the data has to be available, so the only other option I can think
of is to select
Interesting...
as for your first question...
Know that PHP/Apache does not have free reign to your CPU, so the times
could be different based on the scheduling going on in the OS kernel.
As for the second one...
No idea why you would get a negative number, I just copied and ran from
the
If your users are using Windows, then something like
http://www.hypervisual.com/winbinder/
might be good on the user side, as you can bundle the PHP binary and
everything else needed into one executable (with some work of course)
And then they can create a file formatted to your specifications
How is the CPU not in question? Does this script run on air?
It may not be YOUR CPU, but it is still a CPU bound by the sceduling
algorithm of the Operating System, so the time differentials are too be
expected.
-B
tedd wrote:
At 12:24 PM -0400 4/7/06, Brad Bonkoski wrote:
Interesting
why do you have single quotes around year?
-B
Tom Chubb wrote:
I'm working on an insert record page with a multiple file upload script of
which I understand the fundamentals.
However, on submission I am getting the following error:
Parse error: syntax error, unexpected
thanks for the clarification, I guess the other solution would be to
avoid using names with special meaning for column names...
-B
Ray Hauge wrote:
On Friday 07 April 2006 12:53, Joe Henry wrote:
On Friday 07 April 2006 1:37 pm, Tom Chubb wrote:
$insertSQL = INSERT INTO cars (model,
tedd wrote:
-B
At 12:51 PM -0400 4/7/06, Brad Bonkoski wrote:
How is the CPU not in question? Does this script run on air?
I did not say that. I said that it was not MY CPU that was involved
and it isn't.
Who cares, it is irrelavent who's CPU it is runing on.
It may not be YOUR
Thanks for the responses to this...
The AJAX thing would probably not work as this is a critical piece to
the UI, so even though the form would load faster, the users would still
really need to wait for the select options to come through before they
could actually do any *work* on the page.
How about this:
class foo {
var $name;
function setName($value) {
$this-name = $value;
}
}
-B
Merlin wrote:
Hi there,
I would like to assign a value inside a class like this:
var $db_username = $old_name;
Unfortunatelly this does not work and I do get following error:
Merlin wrote:
chris smith schrieb:
On 4/11/06, Merlin [EMAIL PROTECTED] wrote:
chris smith schrieb:
On 4/11/06, Merlin [EMAIL PROTECTED] wrote:
Hi there,
no much simpler. I do not need to assign the value from outside
the class. This
is just inside the class. I have the login data
session_start();
$s = SID; //get Session ID
echo a href=\page.php?$s\Page/a;
Mostly for passing the session as a GET variable to another page, like
for anything from authentication tokens to form data etc...
Of course for form data it would probably be better to encapsulate the
session
Assuming the PHP web page is available, anyone else having problems
connecting to php.net?
-B
Jay Blanchard wrote:
[snip]
is there a ready script that handle entering user name and password for
authentication by extracting the Data from Oracle10g DB without showing
the
URL in the address
Maybe it is just me, but I think these types of discussions/debates
concerning opposing view points on the direction of web programming is
as imperative to the general PHP community (i.e. this list) as the
dangers of register globals and magic quotes etc
At least more relevant then the
Hello,
Anyone have pointers to good tutorials out there for validating XML with
DTD?
I have looked at the top comment on:
http://www.php.net/manual/en/ref.xmlreader.php#xmlreader.constants
Where you set the parser property to validate, but it is kind of like a
black box...what is it using the
Bing Du wrote:
Hello,
Here are the two scripts. The result is 'var is' rather than 'var is
foo'. My suspect is I did not set the file path right in 'include'. So
in file2.php, how should I get the actual absolute path it really gets for
file1.php? Is it stored in some environment
Perhaps this will work..
http://www.php.net/manual/en/function.substr.php
Ross wrote:
I have a word say 'example' I want to chop of two or 3 chacters from the
front to leave 'ample' or 'mple'. Is there a php function to do this?
Ross
--
PHP General Mailing List (http://www.php.net/)
Here's a stab...
$colors = array(red=#ff,gree=#00ff00,blue=#ff);
echo $colors[blue];
should output #ff
HTH
-Brad
Jonas Rosling wrote:
Hi all,
I'm kind of new with PHP. I work alot with another language called Lasso,
reminds kind of PHP but not the same.
I trying to search after a
I don't believe you 'push' to an associative array like this,
but if you want to add black for example...just do:
$colors['black'] = '#ff';
-Brad
Jonas Rosling wrote:
Need solve another case regarding array maps. Is it possible to insert more
values like with array_push in arrays as
or white ;-)
Stut wrote:
Brad Bonkoski wrote:
$colors['black'] = '#ff';
Black? Are you sure?
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What kind of values are stored in $row[2] and $row[5]?
You might need to keep the single quotes
$test['$row[2]'] = $row[5];
-Brad
Jonas Rosling wrote:
There's allways mutch to learn. :-) I'm very happy for all help I can get.
I ran into another problem when trying to insert a value.
I
Is there a way to key off of the data inserted? Like some unique value
or set of values that you can do a quick lookup before you
insert/update/delete again...
Or you could venture into an AJAX style of submission keyed off of a
button click then a refresh to a 'report' page, in which case no
Will this also work with an associative array? If this is what he is
talking about, I tried it and it does not work
I put this together though and it works, not sure if it is the *best*
way though...
?php
$colors =
array('white'='#ff','black'='#00','blue'='#ff');
Ross wrote:
Hi,
The line was this.
echo TD WIDTH=\25%\ ALIGN=\CENTER\
A
HREF=\javascript:open_window('$PHP_SELF?action=view_recorduserid=$userid');\View/A
A HREF=\$PHP_SELF?action=delete_recorduserid=$userid\
onClick=\return confirm('Are you
I get nothing
do you get something different?
Jay Blanchard wrote:
[snip]
$colors =
array('white'='#ff','black'='#00','blue'='#ff');
[/snip]
What happens when you echo $colors[1]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Nope... dead air.
Of course getting an indexed value into an associative array seems a bit
odd to me... maybe Jonas could shed some light on why he would go this
route...
Jay Blanchard wrote:
[snip]
I get nothing
do you get something different?
[/snip]
Not even 'array'?
--
PHP
?php
$var = $_GET['var'];
echo( Welcome to our Web site, $var! );
?
-B
IraqiGeek wrote:
Hi all,
I'm somewhat new to php, though I have played a bit with the language.
I'm currently learning the language, and I'm having a problem passing
variables through URL query. Here is what I have:
A
In Exploder 7 beta 2 I actually get an access denied error...
but works in firefox.
Mike wrote:
I am not seeing a blank page here.
Porpoise wrote:
tedd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try this:
http://xn--ovg.com/ajax_page1
Please understand: a) It's a
Not really a PHP question...
But, since it is Friday ;-)
As our friend Google:
http://www.google.com/search?hl=enq=Javascript+disable+back+button
HTH
-Brad
Sugrue, Sean wrote:
Does anyone know how to launch a new page with having the back arrow
button grayed out?
Sean
--
PHP General
Well, listing all the values in a comma separated list in the DB would
be fairly simple to parse, check out:
http://www.php.net/manual/en/function.explode.php
As far as what is better depends on many things...
1). Maintaining the code, might be better to have each check box have
its own field,
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before
your DB insert, just to keep those things under your command)
-Brad
Richard Lynch wrote:
On Mon, May 22, 2006 11:37 am, Brad Bonkoski wrote:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
If you are using http://php.net/stripslashes on data coming out of
your database, you
Perhaps check out some of these
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
-Brad
Dallas Cahker wrote:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine
which
site is
in your php.ini file what is the value of:
magic_quotes_gpc?
(hint: should be off, if it is on, then you are add slashes twice...)
-Brad
[EMAIL PROTECTED] wrote:
ok. I just made one test and if you can then explain something to me:
I entered in form (textarea)
afan's crazy web
and stored in db
1 - 100 of 207 matches
Mail list logo