Hi all -
While I know that this is not possible with PHP alone,
Does anyone know how to capture website screen shots
using PHP. I have recieved many spam mails featuring a
screen shot of our company website and I imagine that
it would be quite possible combined with some sort of
web browser.
It w
Hello,
I want to set a cookie when I enter a text into the text field, and it
shows the text I submitted immediately, thus I write a sample php code like
this:
(I set the text field is Name and the data will be sent to another page)
In another page, I insert in the
beginning of the code.
Client side issue. Use javascript or DHTML.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Michiel van Heusden [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 21, 2003 4:47 AM
> T
> Hi... I got a big site, which is not very well constructed inside, and
the
> script began to throw (rather often, but NOT always) a fatal error "
Fatal
> error: Allowed memory size of 8388608 bytes exhausted ", every time in
> different places. I wonder how should I debug that, as there is pretty
> >> I'm using sessions for authentication in a content management
system
> and
> >> experiencing rare but occasional problems with the session
apparently
> >> expiring unexpectedly. I've checked the manual and I've reviewed
the
> > session
> >> configuration on the commericial host I'm using. I do
> anyone?
Do you want everyone on the list to send you a message saying they're
not sure what to do?? Just be patient and if someone has an idea,
they'll let you know.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
>
> I'm trying to build a regexp that would parse user-supplied text and
> identify cases where HTML tags are left open or are not properly
> matched-e.g., tags without closing tags. This is for a sort
of
> message board type of application, and I'd like to allow users to use
> some HTML, but just
I'll check, but I'm pretty sure my host only allows me to edit the
existing *.shtml files to customize my error pages. I don't think it
will allow me to set the error pages to different URL's.
---Matt
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Friday, Februa
One other thing you could do is simply set up SSL with your own certificate
so that it will encrypt the connection and then run code via JAVA or some
other client side applet that will get the MAC address from the client
machine directly. You can then check the MAC against the addresses allowed.
S
> If you figure out how to do this successfully, please share. I'm
forced
> to use SHTML for my error pages (404.shtml and whatnot), but I'd like
to
> get those to interact with PHP as well.
Most any web server will allow you to set a URL as the error handler, so
you can have it as a PHP page. Is
> I wish to run PHP on a Win 2000 server, MS SQL and IIS. Can someone
please
> guide me to some place where there are some tutorials on how to
install
> and run the above?
The PHP manual has an installation channel the works.
> Also are there any problems by running PHp on Win 2000, MS SQL and
> >Let's say I need to take one of 20 actions depending on a form
selection.
> I
> >could use a switch statement with 20 cases, but I could also do
something
> >like:
> >
> >// Pretend this comes from a form
> >$formchoice = "mars";
> >
> >
> >$response = array(
> > "mars" => "go_mars()",
> > "merc
See the flash docs. There are ways of making javascript and flash interact.
So make a dynamically generated javascript which will pass variable to
flash!
Or are there special reasonds to use only GET ?
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
On 22 Feb 2003 03:28:22 -, you wrote:
>Let's say I need to take one of 20 actions depending on a form selection. I
>could use a switch statement with 20 cases, but I could also do something
>like:
>
>// Pretend this comes from a form
>$formchoice = "mars";
>
>
>$response = array(
> "mars" =>
Some thoughts on variables and constants:
a) You can't redefine a constant but can redefine
a variable.
b) Constants are autoglobal (like superglobals) so
for example:
Had we not used global $variable, the $variable
would not have been available inside the function.
But, the
Hi,
Saturday, February 22, 2003, 9:19:13 AM, you wrote:
MH> Hi all,
MH> I'm working on adding some logging functionality to a PHP image counter
MH> script that I wrote. The counter outputs an image representing the current
MH> number of hits and is used via an tag. After it displays the image,
Chris, et al --
...and then Chris said...
%
% Let's say I need to take one of 20 actions depending on a form selection. I
% could use a switch statement with 20 cases, but I could also do something
% like:
%
% // Pretend this comes from a form
% $formchoice = "mars";
%
%
% $response = array(
I am thinking of starting a Utah PHP user group.
If there are any Utah php user out there, please let me know if you
would be interested in starting a user group for PHP.
Thanks,
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello friends,
I wish to run PHP on a Win 2000 server, MS SQL and IIS. Can someone please guide me to
some place where there are some tutorials on how to install and run the above?
Also are there any problems by running PHp on Win 2000, MS SQL and IIS?
Thanks
Denis
--
PHP General Mailing Lis
Hi,
Saturday, February 22, 2003, 12:29:36 PM, you wrote:
HP> Im trying to write a poll script that is easy to intergrate into other
HP> documents of a site and thought that since shtml is a much used method, I
HP> want to make it available.
HP> "Hans Prins" <[EMAIL PROTECTED]> schreef in bericht
http://www.alaska.edu/hr/jobs/external/tmp19_3.xml
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you figure out how to do this successfully, please share. I'm forced
to use SHTML for my error pages (404.shtml and whatnot), but I'd like to
get those to interact with PHP as well.
---Matt
-Original Message-
From: Hans Prins [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003
Let's say I need to take one of 20 actions depending on a form selection. I
could use a switch statement with 20 cases, but I could also do something
like:
// Pretend this comes from a form
$formchoice = "mars";
$response = array(
"mars" => "go_mars()",
"mercury" => "go_mercury()",
"earth"
this is decent
A Complete, Secure User Login System
by tim perdue
http://phpbuilder.com/columns/tim2505.php3
and of course - hotscripts.com
--- Dennis Gearon <[EMAIL PROTECTED]> wrote:
> Anybody know of a good user registration system,
> using emailed web addresses for verification of
> e
Yeah, I had thought about using JavaScript. I had hoped that there was
another way, but if there is, I can't figure it out.
---Matt
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 8:37 PM
To: Matt Honeycutt; Php-General
Subject: Re: [PHP]
Hi,
Saturday, February 22, 2003, 2:26:35 AM, you wrote:
M> I see that its looking for mysql.sock in /tmp/mysql.sock
M> but I searched on my system and only found mysql.sock in /var/lib/mysql/
M> is there a section where I need to change this setting? or a conf file?
M> "Hans Prins" <[EMAIL PROT
My apologies in advance if this too basic or there's a solution easily
found out there, but after lots of searching, I'm still lost.
I'm trying to build a regexp that would parse user-supplied text and
identify cases where HTML tags are left open or are not properly
matched-e.g., tags without
on 22/02/03 10:19 AM, Matt Honeycutt ([EMAIL PROTECTED]) wrote:
> I'd also like for it to log the referer,
> but because the counter is triggered via an tag, the referer is always
> the page that has the tag. Is there any other way to grab the referer
> that actually sent the user to the page t
Im trying to write a poll script that is easy to intergrate into other
documents of a site and thought that since shtml is a much used method, I
want to make it available.
"Hans Prins" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Hello,
>
> I have a problem with including a "tes
Michael --
...and then Michael A Smith said...
%
% Hi,
Hi!
%
% Is there any way using PHP (or any thing else, preferably PHP) to
% convert a MS Outlook *.PST file to another file that would be usable by
Converting from Outhouse comes up a lot on the mutt-users list. To date
the only thing o
Hi,
Saturday, February 22, 2003, 8:22:44 AM, you wrote:
HP> anyone?
HP> "Hans Prins" <[EMAIL PROTECTED]> schreef in bericht
HP> news:[EMAIL PROTECTED]
>> Hello,
>>
>> I have a problem with including a "test.php" into a "test.shtml" and
HP> passing
>> a variable to the "test.shtml" which should be
Thanks. Worked like a charm...
Jason Sheets wrote:
PHP is starting output buffering automatically for you and then you are
starting it in your script as well, that is why you are receiving the
message ob_gzhandler can not be used twice.
Use ob_get_level to check if output buffering is not alread
Could anyone please shed some light on the following issue?
I have a problem with including a "test.php" into a "test.shtml" and passing
a variable to the "test.shtml" which should be available and processed in
the "test.php"
the "test.php" document includes the following:
---
PHP is starting output buffering automatically for you and then you are
starting it in your script as well, that is why you are receiving the
message ob_gzhandler can not be used twice.
Use ob_get_level to check if output buffering is not already started.
You may want additional logic that chec
Hi,
Is there any way using PHP (or any thing else, preferably PHP) to
convert a MS Outlook *.PST file to another file that would be usable by
PHP, using only PHP scripts, or even a CGI? I am working on an
open-source project called falconmail that needs to be able to import
all sorts of mail files
I noticed this problem with one of my scripts when its running under php
4.3.0, Apache 2.0.44.
It only happens when started with ob_start('ob_gzhandler');
Even with this test script from the php manual produces this error.
Any insight would be appreciated.
From php.ini ->
; Output buffering allow
Mike:
On the name of the select, use "[]".
That way, you can access the array to see what options were selected.
--
Un gran saludo/Big regards...
Arturo Barajas, IT/Systems PPG MX (SJDR)
(427) 271-9918, x448
> -Original Message-
> From: Mike Walth [mailto:[EMAIL PROTECTED]
> Sent
Hello:
I'm trying to get the value from the following form field.
Value1
Value2
Value3
I can get it to return one value, but if I select multiple values I can't
get all the values form it. Any ideas would be appreciated.
Mike Walth
CinoFusion
--
PHP General Mailing List (http://www
Hi... I got a big site, which is not very well constructed inside, and the
script began to throw (rather often, but NOT always) a fatal error " Fatal
error: Allowed memory size of 8388608 bytes exhausted ", every time in
different places. I wonder how should I debug that, as there is pretty much
co
Hi all,
I'm working on adding some logging functionality to a PHP image counter
script that I wrote. The counter outputs an image representing the current
number of hits and is used via an tag. After it displays the image,
the counter collects information about the user (browser version and OS,
At 23:12 21.02.2003, Ian said:
[snip]
>Is it possible to read information on the client serial port and return it
>to the server ?
[snip]
Sure. But not with PHP.
PHP is working "behind the scenes", at the webserver.
Is it possible to read information on the client serial port and return it
to the server ?
a newbie.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've tried all of the DB libs and I can't get any of them to
compile/work properly..
For GDBM I get :
Driver initialization failed for handler: gdbm: Bad magic number
For the rest I just get
Driver initialization failed for handler:
Where is db2 db3 etc..
Can anyone tell me what the the tric
If all you need is some PHP encryption and don't necessarily need the mcrypt
library, you can try cryptopp-php, which does pretty much the same thing. A
Windows DLL that was compiled for PHP 4.3.0 is available at
http://www.tutorbuddy.com/software/
It should work with PHP 4.3.1, too, as I don't
anyone?
"Hans Prins" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> Hello,
>
> I have a problem with including a "test.php" into a "test.shtml" and
passing
> a variable to the "test.shtml" which should be processed in the "test.php"
>
> the "test.php" document includes the followi
I am experiencing some very odd behavior in my classes that I don't
know how to work around. Apparently, PHP is getting my variables
'confused' with each other and assigning/returning the wrong data.
My class design is as follows:
class TestClass
{
var $TestLog;
var $Data1;
Hi,
I'm going to start encrypting credit cards with the mcrypt functions. I
encrypted the credit cards like so:
$key = 'test';
$cc = "1234567890123456";
$td = mcrypt_module_open ('tripledes', '', 'ecb', '');
$key = substr ($key, 0, mcrypt_enc_get_key_size ($td));
$iv_size = mcrypt_enc_get
I am unable to send emails, and there are no errors being generated or
populated in the $php_errormsg variable, since I enabled track errors in the
php.ini. So I have no idea why the mail send is failing. Am I supposed to
specify
a mail server to use for sending mail? My sendmail was setup automati
in the first line of the code you are refering to $_GET[option]
option in this case is being seen as a constant.
if you were to put single or double quotes it would work.
the second notice means that in the $_GET array, there isn't a key called
option
it would probably work better if you did th
the default location for the php.ini file (if installed with the RPM's) is
/etc/php.ini
Jim
- Original Message -
From: "Kevin Paz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 11:03 AM
Subject: [PHP] Cannot find php.ini
>
> I've taken over a redhat server w
At 20:03 21.02.2003, Kevin Paz spoke out and said:
[snip]
>
> I've taken over a redhat server with apache/php4.1. I need to enable
>register_argc_argv but I can't find the php.ini file (I've searched the
>entire system).
try (as root)
# update the
find / -iname php.ini
or create a page with
Untitled
Save it and then call it form your webserver. It'll tell you where the ini
is.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Kevin Paz [mailto:[EMA
> I've taken over a redhat server with apache/php4.1. I need to enable
> register_argc_argv but I can't find the php.ini file (I've searched the
> entire system).
>
> Would creating a new php.ini file with only register_argc_argv line work?
> Where's the default location for php.ini?
Load up a pa
> I was looking through php.ini and noticed that show_error was set to Off.
I
> turned it On, and now I see these errors on one of my pages:
> Notice: Use of undefined constant option - assumed 'option' in
> /usr/local/apache/htdocs/tyler/encodeDecode.php on line 37
>
> Notice: Undefined index: opt
The actual name of the variable in that message is display_errors, not
show_error.
tyler
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 1:01 PM
Subject: [PHP] What do these errors mean?
> Hi,
>
> I was looking throu
Default location is:
/usr/local/lib/php.ini
You can also do a:
locate php.ini
Good luck,
Tyler
- Original Message -
From: "Kevin Paz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 1:03 PM
Subject: [PHP] Cannot find php.ini
>
> I've taken over a redhat se
I've taken over a redhat server with apache/php4.1. I need to enable
register_argc_argv but I can't find the php.ini file (I've searched the
entire system).
Would creating a new php.ini file with only register_argc_argv line work?
Where's the default location for php.ini?
Thank
Hi,
I was looking through php.ini and noticed that show_error was set to Off. I
turned it On, and now I see these errors on one of my pages:
Notice: Use of undefined constant option - assumed 'option' in
/usr/local/apache/htdocs/tyler/encodeDecode.php on line 37
Notice: Undefined index: option i
Help, please -- I've just started looking at my first line of PHP code.
:)
A little background, I am *not really* a programmer: I went to art
school.
I have taught myself to develop web stuff in another language: Lasso,
but have no training.
In any case, I am looking through a php script th
I am getting bizarre results from ldap_errno and ldap_error. I am
using PHP 4.0.4pl1, iPlanet web server 4.1SP7 and iPlanet LDAP server
4.16. As a test I am trying to add an entry to LDAP that already
exists. The link and bind to LDAP work properly and the LDAP log show
the correct behav
I use cookies in my web applications, but have reached the 4 kB limit. So I
need to 'convert' all my cookies to session variables. Have got an idea how
I can create such for one variable, but here I have multi element cookies.
Reading the php manual gives me no idea on how to do this.
Here's the re
create table Shop(
ordId NUMBER(7) NOT NULL PRIMARY KEY);
create table Customer(
ordId NUMBER(7) NOT NULL,
FOREIGN KEY (ordId) REFERENCES Shop(ordId) on delete cascade);
so, when i delete a row in shop, the corresponding row in customer will be
deleted.
so, i have created a function in php to ex
On Fri, 21 Feb 2003 10:37:42 -0700, you wrote:
>>Quoting Steven Kallstrom <[EMAIL PROTECTED]>:
>> I am creating dynamic drop down lists... I would like to have an
>> option appear in the drop down list, but have it greyed-out and not be
>> selectable... I know you can disable selects, but I
Anybody know of a good user registration system, using emailed web addresses for
verification of
email address?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi, i have 2 tables in oracle
create table Shop(
ordId NUMBER(7) NOT NULL PRIMARY KEY);
create table Customer(
ordId NUMBER(7) NOT NULL,
FOREIGN KEY (ordId) REFERENCES Orders(ordId) on delete cascade);
so, when i delete a row in shop, the corresponding row in customer will be
deleted.
so, i hav
hi, i have 2 tables in oracle
create table Shop(
ordId NUMBER(7) NOT NULL PRIMARY KEY);
create table Customer(
ordId NUMBER(7) NOT NULL,
FOREIGN KEY (ordId) REFERENCES Orders(ordId) on delete cascade);
so, when i delete a row in shop, the corresponding row in customer will be
deleted.
so, i hav
Oh! Yes you can:
Some Value
Have fun!
Quoting Steven Kallstrom <[EMAIL PROTECTED]>:
### Hey PHP lovers,
###
### I am creating dynamic drop down lists... I would like to have an
### option appear in the drop down list, but have it greyed-out and not be
### selectable... I know you can di
Hey PHP lovers,
I am creating dynamic drop down lists... I would like to have an
option appear in the drop down list, but have it greyed-out and not be
selectable... I know you can disable selects, but I don't think you can
disable individual options in selects... anyone have any ideas?
Wilbert --
...and then W. Enserink said...
%
% hey david,
Hiya!
%
% should she apologize to you know?? for apologizing twice?:-)
*grin* Tee hee.
% I'm sorry if offended anyone with this mail.
D'oh! Sorry if *I* offended anyone with my reply! Or with this reply!
Or with my apology!
%
On Fri, Feb 21, 2003 at 09:03:18AM -0800, Rot Alvarez wrote:
> Bueno gracias..ten??as tod al raz??n...pero haora sale esto:
>
> Listado de tablas:
>
> Warning: Supplied argument is not a valid MySQL result resource in
>/../web/php_mysql.php on line 40
>
tiene cara de que le estas pasando algo
> estoy tratando de programar un messenger en php y
> sale este mensaje y no se como arreglarlo...no lo entiendo
>
> Warning: MySQL Connection Failed: Unknown MySQL Server Host 'misitio.cl/' (2) in
>/../messengerphp/cabesera.php on line 87
>
> Warning: Supplied argument is not a valid MySQL-Link
thanks for your reply
> What I do in these cases is either having Or use a file (something.php) which spits text like var1=&var2=.
> Flash can read that file and get the variables
the second one is not a possibility, because I need flash to have the vars
before operating. the variables ar
Im having some more error checking issues :)
This time its with sending email using php.
Im absolutely sure that the email address is correct and that my IMAP module
is enabled for
php as I successfully read emails from my ISP. But when I sent an email
with:
mail($to, $subject, $body, $headers)
i
What I do in these cases is either having mailto:[EMAIL PROTECTED]]
Sent: 21 February 2003 16:37
To: [EMAIL PROTECTED]
Subject: [PHP] passing variables to flash
i want to pass variables to a shockwave-flash-file
currently that's working fine with
print "
etc...
but passing the variables throu
> From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
>
>> I'm using sessions for authentication in a content management system and
>> experiencing rare but occasional problems with the session apparently
>> expiring unexpectedly. I've checked the manual and I've reviewed the
> session
>> configuration
i want to pass variables to a shockwave-flash-file
currently that's working fine with
print "
etc...
but passing the variables through GET makes iexplore think it's loading a
new *.swf-file
how to fix this?
1) is there a way around using GET to pass the variables from PHP?
2) is there a way to
estoy tratando de programar un messenger en php y
sale este mensaje y no se como arreglarlo...no lo entiendo
Warning: MySQL Connection Failed: Unknown MySQL Server Host 'misitio.cl/' (2) in
/../messengerphp/cabesera.php on line 87
Warning: Supplied argument is not a valid MySQL-Link resource in
Thanks rick, that is a much cleaner solution!
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
009f01c2d9c1$51171d20$0500a8c0@honeybee">news:009f01c2d9c1$51171d20$0500a8c0@honeybee...
> $db = mysql_pconnect("localhost", "test1", "test1") or die(mysql_error());
>
> - Original Message -
>
I see that its looking for mysql.sock in /tmp/mysql.sock
but I searched on my system and only found mysql.sock in /var/lib/mysql/
is there a section where I need to change this setting? or a conf file?
"Hans Prins" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Fri, 21 Feb 2003 08:05:47 -0800 (PST), you wrote:
>Where can I set the session data size?
AFAIK, the only limit to the amount of data stored in a session is the
filesize limit of the underlying OS. What's the problem exactly?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Sessions have a list of options that can be set, but I don't see
anything remotely similar to a 'data size'.
What error are you getting, or please explain further in more detail.
Regards,
Jason k Larson
Joseph Bannon wrote:
Where can I set the session data size?
Joe.
__
You were right Prins, I got the error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
So I guess I need to investigate what this means now...
Thanks!
-ML
"Hans Prins" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Would you care t
I understand the implications this could cause and appreciate your concerns.
This is on a test machine on a secure network that I've set up just to get
me through the learning process. Eventually this form will be in a secure
area of the site that only staff have access to.
The script will add a
> Would you care to explain to the rest of the list how you intend to use
> mysql_error () to return connection failure information?
>
> It returns the text of the error message from previous MySQL operation
> Description: string mysql_error ( [resource link_identifier])
>
> Seems to me that withou
Where can I set the session data size?
Joe.
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Would you care to explain to the rest of the list how you intend to use
mysql_error () to return connection failure information?
It returns the text of the error message from previous MySQL operation
Description: string mysql_error ( [resource link_identifier])
Seems to me that without a connect
$db = mysql_pconnect("localhost", "test1", "test1") or die(mysql_error());
- Original Message -
From: "ML" <[EMAIL PROTECTED]>
To: <>
Sent: Friday, February 21, 2003 9:33 AM
Subject: [PHP] Re: Mysql DB connect failure
Where exactly would I put the print mysql_error() ?
Here is the code.
> Here is an example array:
>
>
> array(
> array("1","2"),
> array("2","3"),
> array("3","1")
> )
>
> now suppose I get some form inputs with the value 1 and 1. I am trying to
> find a way to figure out if the first coloumn is already in the table and
> if so just add the
> I'm using sessions for authentication in a content management system and
> experiencing rare but occasional problems with the session apparently
> expiring unexpectedly. I've checked the manual and I've reviewed the
session
> configuration on the commericial host I'm using. I don't see anything
w
Where exactly would I put the print mysql_error() ?
Here is the code...
");
"Hans Prins" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> did you try:
> print mysql_error();
>
> "Ml" <[EMAIL PROTECTED]> schreef in
did you try:
print mysql_error();
"Ml" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Currently I have some php code that displays a message if a connect to my
> database fails. Is there anyway I
> can get a more descriptive error message? So I can see exactl
I think a database session would be of more use to you since you would have
more control over the lifetime of the session etc
"Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > From: "Hans Prins" <[EMAIL PROTECTED]>
> >
> > can you show
On Friday 21 February 2003 09:08, you wrote:
> Here is an example array:
>
>
> array(
> array("1","2"),
> array("2","3"),
> array("3","1")
> )
>
> now suppose I get some form inputs with the value 1 and 1. I am trying to
> find a way to figure out if the first coloumn is
Currently I have some php code that displays a message if a connect to my
database fails. Is there anyway I
can get a more descriptive error message? So I can see exactly why my php
can't connect to the Database?
I am pretty sure that the username and password are correct and the username
exists as
SELECT it out, send Word headers with header() and echo your data.
---John Holmes...
- Original Message -
From: "M.ALPER KARASAHIN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 8:53 AM
Subject: [PHP] Php Oracle & Word object
Hi,
i want to display a bl
Here is an example array:
array(
array("1","2"),
array("2","3"),
array("3","1")
)
now suppose I get some form inputs with the value 1 and 1. I am trying to
find a way to figure out if the first coloumn is already in the table and if
so just add the second coloumn to th
> Thank you for answer, but I need application for personal small ads.
>
> I am looking for application which need to show categorized
> personal small ads and needto allow on-line adding of
> personal small ads (for everyone) and and
> need to have some mechanism for ads administration.
>
>
> I do
Hello John,
Thank you for answer, but I need application for personal small ads.
I am looking for application which need to show categorized
personal small ads and needto allow on-line adding of
personal small ads (for everyone) and and
need to have some mechanism for ads administration.
I do n
> I need web application (PHP/MySQL) for small ads
> (personal ads, that is advertisements to buy and
> sell cars, houses etc).
http://www.phpwizard.net/projects/phpAds/
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> how can i sort names by first letter, like, show only names starting
> with a, then b, c .. etc
Where is the data? In an array? database? file?
If it's a database, then you can just do
SELECT * FROM table WHERE column LIKE 'a%'
or
SELECT * FROM table WHERE LEFT(column,1) = 'a'
---John Holmes
1 - 100 of 150 matches
Mail list logo