kg,
> > poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSuggestedSellPrice)
> > values('$poID', '$place[0]', '$inmb', '$ides', '$iicp', '$cases',
> > '$place[1]', '$iice', '$isgs'&quo
Look at http://www.php.net/strtotime
..micahel..
On Thu, 2003-05-29 at 09:21, Anthony wrote:
> I have a form where the user enters a date into a text input field. I need
> to convert this text to a date and put it in a field in a mySQL database.
> Is there an easy way to do this? Do I have to t
Joe,
I mostly agree with your opinion. But remember that a method in an
object that has output doesn't have to print the output - it can return
it instead and the calling function can then either display the output
or do something else with it. And if it makes sense to have a method
return HTML,
#x27;t recognize 0s (as in,
> that if would be false), isset() seems to work. Should I change all my $ !=
> "" to isset()s, or are there other factors I should check?>>
>
> Conversely, what about empty(). Is that a better test for if a value could
> be 0 or 1 or 2 or ABC?
lt)) {
> $buyerid = $row['buyerid'];
> $state = $row['state'];
>
> $option_block .= "$state";
> }
>
> $display_block = "
>
>
> $option_block
>
> ?>
>
>
> State
>
>
>
>
--
Michael Sweeney <[EMAIL PROTECTED]>
Verisity Design, Inc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check out phpnuke.org - content management system that seems to answer
most of the criteria you've set out here.
..michael..
On Mon, 2003-01-13 at 13:46, White Wolf wrote:
> Hi All,
>
> I am a C++ guy, who plans to do a site about C++ Idioms. I would like to
> make it into a community site with
ery($query);
>
> if(!$result)
> echo "Can't execute query: " . mysql_error();
>
> header("Content-type: application/pdf");
> readfile("file.pdf");
> exit();
> ?>
--
Michael Sweeney <[EMAIL PROTECTED]>
Verisity Design, Inc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
jEdit. www.jedit.org.
On Tue, 2003-01-07 at 01:59, Karl James wrote:
> Hello guys,
> Right now im using dreamweaver mx
>
> I was wondering if anyone knew of any good free text editors that has
> line counts
> And is good for php
.
>
>
--
PHP General Mailing List (http://www.php.net/)
To u
I've recently compiled PHP (4.2.3) with openssl support on a Solaris 8
system. openssl does not have a libcrypt.a library - it does have
libcrypto.a. How did you install openssl and what is your configuration
line for PHP? I've found it to be best to configure openssl so that it
installs somewhere
If you are trying to load a PHP-Nuke site, your problem is that the page
can't access your mysql server. Either the server is not running, or the
hostname/username/password is not correct so the program is unable to
successfully connect to the mysql server.
..michael..
On Fri, 2002-12-20 at 01:08
t;
> while(odbc_fetch_row($ret)){
> $Epost = odbc_result($ret,"Epost");
> preg_match_all( '/?/', $Epost, $result);
> foreach ($result[0] as $loop_result)
>
>
>
>
> sturle
>
--
Michael Sweeney <[EMAIL PROTECTED]>
What you're looking for seems to be called the 'here document' syntax.
I've always seen it used with print and there's a reference to it in the
print function (okay, construct) PHP documentation, but a quick test
shows that you can also use it to assign to variables. As follows:
$var = <<
> I've
If you try to access a form variable that hasn't been set, you get an
undefined index. Try checking with something like
if(isset($_POST['SortBy'])) {
// do something with 'SortBy'
}
In any case, you'll get the undefined index warning anytime you try to
read an array index that hasn't been set
I just moved my domain over to phpwebhosting.com. The transfer went very
smoothly and so far I've been satisfied. The only hitch I can see in
your requirements might be the background processes (bots, what?). But
it's probably worth asking them about.
..michael..
On Thu, 2002-08-01 at 23:31, Ma
What do you mean, "return it to a php variable"?
The closest I can come to understanding your question is that you want
the form input in your bottom frame to be sent to another frame in your
top window for submission.
If that's any place close to correct, you need a javascript solution. In
any
Shane,
You haven't told us what the problem is, only that you're having trouble
making it work. How is it not working? One other question: I have to
assume that the script is running on a different server than the one
your are trying to write to (otherwise, why use ftp?) - are you sure
that the ft
You might want to consider a slightly different approach - that being to
use your php code to generate a delimited file of your data and use
either mysqlimport from the command line if you can, or the LOAD DATA
INFILE sql statement to load the file into your database. That's going
to be a lot fast
popen() opens a named pipe to a program - you can read and write to it
if the program you're piping to supports that kind of interactivity
(mostly you just read the output from the command). However, in this
case, I don't think you want either popen() or fopen() (certainly not
fopen() - that just
Um...did you happen to modify this to have a valid IP address or host
name for $host and a valid port number for $port? It would also help to
have a valid path for $command that is going to talk to a daemon on the
port you specify (ie. making a connection to port 80 and asking for
/usr/games/fortu
The way out is to write standards compliant markup (meaning 'good'
HTML). Read the RFCs, use a validator, Sablotron will stop complaining.
(eg: ) <- (note method to close an image
tag)
..mike..
On Mon, 2002-07-08 at 16:52, Markas wrote:
> Sablotron seems not to like, when in my xsl file occurs
No. Only you. :-)
Platform? Environment? Configuration information?
..mike..
On Tue, 2002-07-02 at 11:01, B i g D o g wrote:
> Has anyone had a problem where PHP created to many open files and crashed
> apache?
>
> B i g D o g
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsu
Your form action parameter has an absolute url specifying an https
protocol. When the browser submits the form, it uses the url you specify
which is https. So the request is going to be encrypted. You might
consider serving the form page from https as well to kind of tighten
things up a little, bu
Ask them.
Seriously, PHP is a server-side platform. The only information about the
client that you're possibly going to be able to get is what is passed to
you either through the headers of a request (basically just the remote
address and some browser information), or what the user tells you
thr
First, run a php script that calls phpinfo() and make sure that the php
module in your server is running against the php.ini file you think it
is. Verify the name and path of the log file.
Second, make sure that errors are being reported, meaning check your
php.ini file for the "error_reporting"
On Thu, 2002-06-20 at 11:29, René Fournier wrote:
>
> And this is the trick: Can PHP somehow fetch MySQL data over the
> Internet? Is this possible? If so, is it necessary for me to resort to
> new, unknown technologies like XML or SOAP, or can I do it with PHP
> alone?
>
PHP can fetch (and
Just escape the \ with a single escape character. eg. your string
'\0PZ\0<Îê˜Úµ' would end up as '\\0PZ\\0<Îê˜Úµ' - each \ simply
escapes the backslash following it. If you add two backslashes, you end
up with one too many which is what the error is referring to.
..micahel..
On Thu, 2002-06
Be careful not to get confused between a chrooted environment like the
web server or ftp server and php include paths. PHP handles the include
and require parameters either as absolute (eg /inc/filename is an
absolute path from / - it is not relative to the web docroot.) or
relative to the directo
You need to run the link value through urlencode() before you stick it
in the url. When you need to read it as a legal url again, pass it
through urldecode().
..michael..
On Thu, 2002-06-20 at 11:20, Lisi wrote:
> I have the following link in my code:
>
>
>clickrate.php?site=sitename&link=htt
It's nothing you have to worry about, but you need to edit your php.ini
file and change the error reporting settings. Find the error_reporting
directives (there will be several, all but one commented out) and
uncomment the one that looks like:
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
I've been using jEdit (www.jedit.org) for months under Linux - very
effective for PHP (as well as Java and many other languages). Perhaps
comparable to TextEdit in the Windows universe, complete with 'snippet'
insertion. Many plugins available, very extensible, very capable editor.
..michael..
O
On Friday 31 May 2002 13:18, Gerard Samuel wrote:
> Just a general question. Is it possible to embed php in pure
> javascript/dhtml code??
> I tried but it didn't work, not sure if it was me or its not possible.
> Thanks...
As long as you enclose the PHP code in script delimiters () and
make su
On Friday 31 May 2002 05:44, you wrote:
> I know how to have my php code run a function within itself. But is there a
> way that upon an event (clicking a button, etc.), you could run a php
> function without having to go to a new page?
No. PHP is a server side application. The only way to run a
I'm trying to get some xmlrpc connectivity working through PHP. Current
configuration is Apache 1.3.22/PHP 4.2.0 on Solaris 7. I've linked to the
current expat libraries. Configure and compile don't show any problems and
other PHP scripts (including phpinfo) work fine. The problem is that an
uot;>news:[EMAIL PROTECTED]...
> Maybe it does in Oracle - you should check your documentation though...
>
> BTW, please post your replies to the list rather than me personally :-)
>
> > -Original Message-
> > From: Michael Sweeney [mailto:[EMAIL PROTECTED]]
> &
My following query :
insert into acteursenc (nuacteur,nomacteur)
(select AA, BB from
(select max(nuacteur)+1 AA from acteursenc),
(select 'Michael Sweeney' BB from acteursenc))"
produces an ORA-1: unique constra
a VERY newbie question, just how do I get data into a listbox? In mysql it
was pretty easy with mysql_fetch_row, but for oracle I am totally lost.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
36 matches
Mail list logo