:
At 2:03 PM -0700 8/23/08, Prasad Chand wrote:
>I am fairly new to PHP. I would like to serve a page to a user based
on his input. Say, I have a page 1 where user has 3 options(drop
down menu). Based on his selection I would like a php script to
direct him to another page (to pages 2,3,4 ba
Jochem Maas wrote:
Prasad Chand schreef:
Hi,
I am fairly new to PHP. I would like to serve a page to a user based
on his input. Say, I have a page 1 where user has 3 options(drop down
menu). Based on his selection I would like a php script to direct him
to another page (to pages 2,3,4 based
Hi,
I am fairly new to PHP. I would like to serve a page to a user based on
his input. Say, I have a page 1 where user has 3 options(drop down
menu). Based on his selection I would like a php script to direct him to
another page (to pages 2,3,4 based on what he selected). I am unable to
figur
Can anybody give me a small example on using
ssh2 functions ( http://pecl.php.net/package/ssh2 ).
I want to execute a command on the remote machine and
want to get the ouput into a phpvariable.
Here is my php code ...
I'm getting some "Resource id #5" as output.
What does this mean. How to g
Thanks.
Never knew there existed (===). Silly me :)
Regards,
Karam
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Karam Chand wrote:
> > Hello,
> >
> > mysql_query() returns non-false even if there was
> an
> > UPDATE statement and the query was successfu
mysql_num_rows() at all.
The problem is that if I set error_reporting( 0 ),
everything works but we are required to have
error_reporting ( E_ALL )
Regards,
Karam
--- Chris <[EMAIL PROTECTED]> wrote:
> Karam Chand wrote:
>
> >Hello,
> >
> >I have an app where one module is
Hello,
I have an app where one module is similar to
phpMyAdmin (well only .1%) with error_reporting() set
to E_ALL.
Now a user can execute any query. What is the best way
to know whether a query is result or non-result.
e.g.
>>
$result = mysql_query ( $query, $mysql );
if
165
$diff = 0.002506
So to get the difference in ms I have to multilply
$diff by 1000.
Am I correct?
Regards,
Karam
--- John Holmes <[EMAIL PROTECTED]> wrote:
> Karam Chand wrote:
> > In Win32 API to profile a job we use the following
> > method:
> >
> >
Hello,
In Win32 API to profile a job we use the following
method:
timetaken = GetTickCount();
/* do some job */
timetaken = GetTickCount() - timetaken;
In this way timetaken returns you the time taken by
the job to complete?
How can I get it in PHP. I want the exact figure in
ms? I used mic
combined work crosses the
memory limit.
Regards,
Ritesh
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> * Thus wrote Karam Chand:
> > Hello,
> >
> > Connecting to the PHP using Windows WinInet APIs.
> Mine
> > is a C++ app that connects to the PHP and gets
>
,
Karam
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> * Thus wrote Karam Chand:
> > Hello,
> >
> > I have a fairly big table of 60K rows with 9 cols.
>
> >
> > I have a C++ app that connects to a PHP page. This
> PHP
> > page in turn connects to the a
Hello,
I have a fairly big table of 60K rows with 9 cols.
I have a C++ app that connects to a PHP page. This PHP
page in turn connects to the above table and outputs
all the row in form of XML. I get all this data in my
C++ app, parse it with an XML parser and do my work.
My PHP source looks som
TED]> wrote:
> * Thus wrote Karam Chand:
> > --- Curt Zirzow <[EMAIL PROTECTED]>
> wrote:
> >
> > Now, many of the ISPs blokc 3306 for security
> reason
> > and you cannot access MySQL from a 3rd party tool
> and
> > have to use phpMyAdmin which is a
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
>
> First off, when starting a new topic, don't reply to
> message and
> then change the topic.
Sorry. But I just didnt remember the email addy so I
took that way :).
>
> * Thus wrote Karam Chand:
> > Hello,
> &g
Hello,
Recently lot of MySQL clients try to overcome host
based privilege system of MySQL by using PHP tunneling
method.
In this method they call up a PHP file in the server
and the PHP file executes a query and sends the data
in XML format.
I am using C API() and I was just wondering if
somebo
Webyog has released SQLyog 3.71 & SQLyog Job Agent (
SJA ) v2.0
Some of the major features added in SQLyog 3.71 are -
-- SQLyog Notification Services - This new feature
allows delivery of formatted resultset(s) over email
at scheduled intervals.
-- SQLyog Database Synchronization Tool now suppor
Hello
I recently got a fairly big project in PHP. Before
starting I would like to clear some doubts.
What is the best way to document such projects? How
you developers document your project?
For .NET etc. there are many documentation tools like
doc-o-matic etc.
Do we need to document the code b
OTECTED]> wrote:
> On Saturday 06 December 2003 12:56, Karam Chand
> wrote:
>
> > looking at manuals and help and some help from
> you. i
> > wrote the attached code-
> >
> > error_reporting (E_ALL);
> > ini_set('display_errors&
It is returning output
2Array ( )
which means the array is empty !!!
it should have outputted ErrorError
Both the php and the binary exsits in
http://www.mydomain.com/mgmt/
Can I send you the binary so that you can check it
out?
Karam
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Satur
Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
Thanks for the help.
Karam
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Friday 05 December 2003 20:43, Karam Chand wrote:
>
> > I have set the error reporting t
the regcode?
I dont have any idea about safe mode. My PHP is loaded
up in my Host's server. Can I change the settings? If
yes then what should I do?
Thanks for your help.
Karam
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Friday 05 December 2003 14:04, Karam Chand wrote:
>
&
Hello
I created a linux binary using GCC. Whenever you
execute it reads a file from the current directory and
outputs the contents. e.g. -
./myapp
output
hello world.
Now I want to execute it from php() so that I can
output the content on a HTML page or get the data in a
variable. Reading thru
Hello
I have got an app wherein you need to pass a name as
the first parameter and it will output that is cout <<
a registraion code for my app based on the name.
I would like to give a web based interface wherein a
user can give his name on the form and I will be able
to generate the code from
Hello
I just shifted to PHP from ASP and I am impressed. I
have a query though -
Apart from sites like phpbuilder.com etc. which is the
most read English magazines read by PHP developers.
I know PHP Arch..nebody reading something
else...just querying...might subscribe to one of them.
Karam
SQLyog v3.51 - The definitive Windows Front End for
MySQL, has been released.
SQLyog is a superfast, compact and easy to use Front
End for MySQL.
Some of the new features added in SQLyog 3.51 are -
-- Complete support for MySQL 4.1.
-- Improved SQL Editor.
-- Improved ODBC Import Tool.
-- BLOB
Greetings
SQLyog v2.51. The definitive Windows Front End for
MySQL. SQLyog is FREE!
Some of the new features added in SQLyog 2.51 are -
-- Alter Table structure in an easy to use Grid mode.
-- Optimized for speed and network resources.
-- Insert / Update data in a table.
-- Insert / Update
Hi all imap gurus out there,
I have sruggling for quite some time to get the
imap_mail_move() function to work.
Imap server : Courier IMAP
PHP Version : 4.1.2
where $msg is an array of imap-mailid's which are to be moved from INBOX to
$movetofolder.
But the above code is not working and is n
Yeah,
I have outputted to browser
Split() was working fine.. Sorry for the noise
on the list. But I have realised that the very moment
I posted the mail on the list.
/Chandu
- Original Message -
From: "Chris Wesley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc
I have a string
$to = " abcd <[EMAIL PROTECTED]>, efgh <[EMAIL PROTECTED]>" ;
I want a function returning an array of
indivial names+mailids like from the $to seperated by ","
something like
$tos[0] = "abcd <[EMAIL PROTECTED]>";
$tos[1] = "efgh <[EMAIL PROTECTED]>";
Now split() in the followin
I have $sub = "abc";
and
$subs[0] = "cde";
$subs[0] = "iyu";
$subs[0] = "abc";
..
..
..
$subs[50] = "xyx";
How to find whether $sub matches with any one of $subs[$i]
I have used a for loop but it is
returning true when $subs[$i] = "xabc".
/Chandu
Bothe of us got the same problem at same time :-)
- Original Message -
From: "David T-G" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 9:28 PM
Subject: [PHP] replacing \n with
--
PHP General Mailing List (http://www.php.net/)
To uns
I have a small problem in converting a plain text to html.
say
$text = "PHP
Rocks";
Observe the '\n',
When I call the converttohtml function which I wrote ( see bottom )
$html = converttohtml($plaintext);
The $html I'm getting is
"PHP
Rocks";
Observe the '\n' still exists,
What is the way to
Hi guys,
Am writing a web based mailclient (obviously with PHP+IMAP),
In the 'ReplyMail' script, inorder to add the "> " string
at the beginning of everyline, I used the following code,
",
htmlspecialchars(trim(imap_body($mbox, $msg;
?>
This is giving an output with one additional \n in th
-
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 17, 2002 11:49 PM
Subject: Re: [PHP] PHP - mail() function problem
> On Saturday 17 August 2002 21:08, N. Pari Purna Chand wrote:
> > Hi guys,
> >
> > I am facin
-
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 17, 2002 11:49 PM
Subject: Re: [PHP] PHP - mail() function problem
> On Saturday 17 August 2002 21:08, N. Pari Purna Chand wrote:
> > Hi guys,
> >
> > I am facin
Hi guys,
I am facing a strange problem,
php's mail() function is not working when a php page is executed thru
apache,
but the same page which has mail() function is working fine and is sending
mails
when php is used as a scripting language in shell.
I'm using xmail's sendmail and xmail as MTA on
Hi guys,
I got a problem with refreshing session variables.
When the following code is run , for the first time
both $z and $secretstring are showing same values.
But when page is refreshed, the $secretstring variable
is still having the old value no matter how many times
I click refresh.
Am I
Hi everyone,
Is there any way to hide my form submitted variables (like
passwords etc)
in the location
bar "http://somedomain.org/checkpassword.php?
password=mypassword"
or atleast show in an encypted form n the location bar.
/Chandu
When a form is submitting data to another php page
it is sending specialcharacters with escape sequences added.
Ex :
& when i do an
echo $var1;
in the submitted php page
it is showing "c:\\programfiles\\" instead of "c:\programfiles\"
Howto overcome this ?
/Chandu
--
PHP General Mailing
Hi all
I have compiled php on a slack box
./configure --with-apxs=/usr/local/apache/bin/apxs ..
make && make install
everything Fine
and .php pages are being parsed with php when called thru webserver(apache).
But I can not find any binary named "php"
which I need to run php scripts from she
hi all out there,
just tell me howz this new site
"www.linuxfornerds.com"
A site meant for ardent linux lovers but every one r
invited to post any views on any open source software.
so get ur voice out
/sagar
__
Do You Yahoo!?
Send FREE Va
i dont know how u r using the thing like PHP on the fucking Win. Moreover
WinMe is the worst of all the OS's. So, better migrate to other OS as soon
as possible.
/sagar
- Original Message -
From: "John Mpaliza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 1
Hi all,
I'm using jm_sms class in mysql
dowhile($myrow=mysql_fetch_array($result)) loop.
the class is running fine for the first time. But when it is called for the
second time i'm
getting an error saying "cant redeclare the class". How to make this class
work within
a loop.
i'm attaching
coool man,
i've been using it since 2yrs.
/sagar
- Original Message -
From: Dean Householder
To: Alex Shi ; [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 2:27 AM
Subject: Re: [PHP] A powerful editor!
I used to use TextPad until I found EditPlus. I'm also amazed by
work out with squrrelmail or basilix. If u want to set up won mail server then
you must have your head and fingers into linux.
/sagar
- Original Message -
From: Bjornie
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 12:25 AM
Subject: [PHP] Creating mailaccounts
hi,
any body out there from hyderabad. if u r a hyderabadi plese mail me.
v have got a lot of things to do.
thanks,
/sagar
hi all,
i'm using a php4.0.6 with apache on win2k. when i register a session and immediately
if i redirect to another
page the session seems not to be registered. eg.
when i go to the new page i c that the session has not been reigstered.
but in case if i dont redirect from php rather use a h
hi,
the socket() function is not working on win2k. any help?
thanx,
/sagar
i've seen many members seeking for a good php chat.
so my suggestion is use phpmychat. its the best php
chat i've ever come across. here is the site where u can
download your version. www.phpheaven.net
its also very easy to install and configure with good admin.
ejoy your chat server,
/sagar
session must be registered before any code is sent to the browser. so the syntax
should be
html code here
/sagar
- Original Message -
From: Krushna Kumar R
To: [EMAIL PROTECTED]
Sent: Thursday, September 27, 2001 5:43 PM
Subject: [PHP] session not working
Hi,
I w
its really a big headache with compilers like c bugging all the way just for
declarations.
its cl to have the freedom of using any variable at any place wherever v want in
bet
ween the code. chao of PHP.
/sagar
- Original Message -
From: * R&zE:
To: Rasmus Lerdorf
Cc: [
try using the die function. it might help out.
or u can use the mysql_affected_rows functions. check out.
http://www.php.net/manual/en/function.mysql-affected-rows.php
/sagar
- Original Message -
From: Joseph Bannon
To: PHP (E-mail)
Sent: Thursday, September 27, 2001 1:17 AM
try 'phpmychat' search in google. its the best chat in php available till now.
/sagar
- Original Message -
From: Tom Beidler
To: Maxim Maletsky (PHPBeginner.com) ; php list
Sent: Wednesday, September 26, 2001 8:51 PM
Subject: Re: [PHP] PHP Chat recommendations
I did, that
Augusto Cesar wrote
> I just instaled a Linux, but php is already working
> but without mysql.
> What should I do? How can I rebuild again?
I can't understand u'r question, May be u are asking
how to build php with mysql support,
First install mysql
get php4.x src,
../configure --wit
- Original Message -
From: sagar N Chand
To: John Day
Sent: Tuesday, September 25, 2001 6:46 PM
Subject: Re: [PHP] Capturing several checkbox values
give each checkbox an individual name before you submit it.
In the next page put this code :
while(list($key,$value)=each
hi all,
is there any way out to get the total no of files in a directory including its
subfolders ?
thanQ,,
/sagar
hi all,
is there any way to get the total disk space used under a directory
including its subdirectories and all the contents.
/sagar
hi,
i have installed win2k and configured apache and php4.0.6 but
mysql is giving error 1016 or so.
why is this happening.
/sagar
i want to restrict the access of some files to a single user only whose names and pwds
are stored in mysql table and i'm authenticating them through my website. So what
i'm looking for is that the files should not be downloaded when their urls are typed in
the browsers.
/sagar
hi everyone,
I'm sorry that i'm not there on the list for a few days. Actually i'm
working for a project in which i want to download some files to
the server(remote) if the user inputs the url of the file name.
hope u got me.
i want to make my server to do the downloads for me so that i can
lat
I have never used a binary version (rpm or tar)
as I use slackware. Both PHP and Mysql have been recently added
to the distribution.So I have been using src all the time.
U'll certainly have some performance gain by
compiling the src.
But the default Redhat 7.1's php distribution is very
Hi geeks,
I have a strage problem over here. I developed a site which runs fine at my home.
When i hosted it on to the remote server it is giving an error saying cant connect
to mysql. the error is like this
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in
Are there any pathches sort of availabe for php 4.0.x
so that I can compile php4 for Apache 2.0.x beta
regards
Chandu
Hi
I am able to Successfully compile PHP 4.0.6 with imap and pgsql
as an Apache DSO.
But after make and make install Apache is not restarting saying
that it cannot find libpq.so.2
So I copied the libpq.so.2 from /usr/local/pgre/lib/ to
/var/lib/apache/libexec but still apache wont restart.
I'm
Hiall,
I am compiling php4.0.5 with imap support as a DSO
for APache. with
./configure --with-apxs. --with-imap
And I got an error saying rfc822.h missing.
So I downloaded the latest Imap Beta 2001 tilldate
And cp'd the c-client to /usr/include
And after compiling the imapd and ipop3d
I cp'd
hi everyone,
I have recently shifted from win98 to win2k. the
pws i'm using is not installing on win2k. Is there any remedy 4
this?
thanks for all u guys who help here with this
mailing list.
bye
sagar
66 matches
Mail list logo