Hello,
I am trying to process POST data sent from a device. Here is a capture of what is
being sent from the device (with the file data replaced by ):
POST file.php HTTP/1.1
Host: ---.---.---.---
Connection: Keep-Alive
Content-Type: multipart/form-data; boundary=BC368B1E
Hi,
I'm trying to insert binary data into a MS SQL Server
database. Text files are added fine, but binary files
with null bytes are not. The field I'm adding the
binary data to is image type. I get an error about
unclosed quotation marks at the null byte, but I've
replaced ' with ''.
I tried esca
Hi,
I am running PHP 4.3.4 on Windows 2000 server with
Apache 2.0.48. I am using COM objects in some of the
pages. My question is, how do I release them when I'm
done? Right now, I'm unsetting them, but after a few
days I get COM+ Errors in the Event Viewer:
The COM+ Services DLL (comsvcs.dll) wa
eed something automatic.
These xls sheets will be updated at random, and I will need the most current
version avalible online.
Any comments would be welcome.
-C-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've recently been learning about cookies myself, and had the same problem
with "" vs. 0 (PHP Fast&Easy Web Development showed the "" in their book).
I know that setting the expire parameter to 0 is supposed to kill the cookie
when browser is closed, but I can't seem to make that happen. I've c
$var = str_replace("\n", "", $var);
sometimes \r\n , but Im not sure... :)
c
[EMAIL PROTECTED] (Manisha) wrote in news:[EMAIL PROTECTED]:
> I am having the text fetched from mySQL database. I converted newline to
> with nl2br function.
>
> I need to detect
hi,
I can make an URL like www.some.com/index.php/value1/value2/ on Linux+Apache
but I can't do it on my win2k+apache 1.3.22 machine.
Why? How could I do it?
(I want to get "values" with explode ('/',$PATH_INFO) )
Thanx a lot!
c
--
PHP General Mailing List
Prior to 4.0.6 it worked fine, however, now when I try:
$result = call_user_func("foo", &$bar);
function foo( &$bar ) {
$bar .= 'foobar';
return 1;
}
I get this:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference
I am struggling with the code below. I keep getting the error "Couldn't
execute query". Please help me out, let me know where I am going wrong.
--
The content of this email message and any attachments are confidential and
9:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Struggling with code
On Thursday 05 December 2002 13:24, Ben C. wrote:
> I am struggling with the code below. I keep getting the error "Couldn't
> execute query". Please help me out, let me know where I am going wrong.
&
I have incorporated most of the suggestions. My most recent code is:
-Original Message-
From: Hugh Danaher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:07 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Struggling with code
please post lines 20 and 21, get
Hugh, I took away the comma from $url and it works.
Everyone, Thanks for your help!
Ben
-Original Message-
From: Ben C. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:15 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Struggling with code
I have incorporated most of the
Does anyone know where I can get a good training course in both PHP and MySQL that
would make me proficient? Or does anyone know of a good tutor? I would prefer it to
be in California or on the west coast. Please provide your comments.
--
PHP General Mailing List (http://www.php.net/)
To un
I am using the query below to edit a record. I want to edit the field which has a list
of states in a dropdown box. I want to have the state that is in the selected field
shown as the selected state. How would I do this?
Query
-
$state";
}
$display_block = "
$optio
Hi,
I'm new to php (ok new, try 3 days ;), althought, I'm finding it fun, I
'm trying to think of a project to do, to get me more into it.
And after having a discussion with a friend and also setting up several
Mailman mailing lists for people that want to compose HTML mails and
post them as n
I tried to use the below but it does not work. Please help!
-Original Message-
From: Michael Sweeney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:29 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Select value for driopdown box
Assuming that you know which
I'm trying to update a field which contains a $USD figure. But when I update it as
200,000 it become 200. I need to take out the comma. Is using ereg_replace function
the best way of doing so? What do you think.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
There are a lot of artlicles on this but I need a simple solution. I need
to subtract two dates as follows:
$date = date("Y-m-d");
$date1 = "2003-03-03";
$differencedate = ($date - $date1);
echo $differencedate;
When I do this I get 0. Please help!
Thanks, Justin. It works.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:27 PM
To: Ben C.; [EMAIL PROTECTED]
Subject: Re: [PHP] Subtracting two dates
Then you need to decide if you want to show days, or hours, or years
difference
Is there a way not to round the number but get a whole number? I don't
want to have 1.5 days show as 2 days because it really has not gone into day
2?
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:27 PM
To: Ben C.; [EMAIL PROT
Hi everyone,
I tried to connect to Active Directory (AD) by using php. I heard that it
could use LDAP to achieve it. I have written some code on my machine
(Win2000) and try to connect to AD. It looks like the it could connect,
bind, and even search (I determined base on the line I placed). How
quot; something like this? I
really confuse the login format of this and so does "objectClass" stuff for
filter. Could you give me an idea? Do you know any web site that talk about
this ? Thank you very much!
Vince
"Sven" <[EMAIL PROTECTED]> wrote in message
news:[
I have a java server running to handle xml requests and send back a
response to the sender.
It runs on one port for tcp and another for udp.
I got the udp version working fine, but I am having problems with the
tcp version.
Watching the debug output on the java server, I can see that it is
receivin
http://www.php.net/readdir
Original Message
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED],
Subject: RE: [PHP] nlist
Date: Thu, 10 Jul 2003 16:17:30 -0700
>Hi all,
>Is there a local filesystem-based function comparable to the
>ftp-based
>'nlist' that lists files in a directory?
>
>John
Hello All,
I just want to survey the list and see what kind of solutions people are using
for the storage and reuse of SQL queries.
Right now I am working on an application that has native SQL queries as well
as custom queries that can be added by developers as they build on the
framework.
In
Have a look at:
http://www.php.net/addslashes
Quoting Aaron Axelsen <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I have a php script set up for a user to upload a word document,
> which is then coverted to html form, which I would then lke to store
> in a dat
How do I add a column of numbers generated through a MySQL query without
using the SQL SUM() function? I have tried looking through the different
documentation. I am probably missing something.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Yes. From there I want to add all the 'a' values together using PHP.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:40 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Addin a column of numbers not using MySQL
D
Monday 04 August 2003 15:59, Ben C. wrote:
> > Yes. From there I want to add all the 'a' values together using PHP.
>
> So do it then.
>
> $total = $total + $myrow['a'] // or something as you go through the loop
> // is
Monday 04 August 2003 15:59, Ben C. wrote:
> > Yes. From there I want to add all the 'a' values together using PHP.
>
> So do it then.
>
> $total = $total + $myrow['a'] // or something as you go through the loop
> // is
27;paid'];
}
CODE End-
What I want to do from here is add up all the 'paid' figures.
>
> From: Jason Wong <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 01:55:40 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Addin a column of numbers not u
When I echo the select state the id is the first of many ids that need to be added
together. It is still not summing the total value of the records.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." &
ate: 2003/08/04 Mon PM 02:16:22 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: Re: [PHP] Addin a column of numbers not using MySQL
>
> [snip]
> while ($row = mysql_fetch_array($result_2)) {
> $paid = $row['paid'];
&
Unsure. How would I do that?
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:36:15 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: Re: [PHP] Addin a column of numbers not using MySQL
>
When I echo the select state the id is the first of many ids that need to be added
together. It is still not summing the total value of the records.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." &
When I echo the select state the id is the first of many ids that need to be added
together. It is still not summing the total value of the records.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." &
Jay,
It still returns '0'. I think we are missing something. Any other ideas? Anyone
else have any ideas?
Ben
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 03:10:15 EDT
> To: "Ben C." <[EMAIL PROTECTED]>,
I want to do now is add up the values 1-5 and get 800.00.
Does this help clarify?
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:57:17 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE
Jay, No results are returned. It is blank.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:57:17 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: Re: [PHP] Addin a column of numbers not u
Yes, I know. However, the while() loop should generate all the invoice in a
list.
-Original Message-
From: Giz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:03 AM
To: 'Ben C.'; [EMAIL PROTECTED]
Subject: RE: [PHP] Sum a column of values from a MySQL query
I thin
I am trying to sum a query of values from a MySQL table. The code I am
using is:
---BEGIN CODE #1--
$sql_2 = "SELECT SUM(partpaidamount) as partpaid
FROM $tb_name
WHERE invoiceid = \"$invoiceid\"
";
$result_2 = @mysql_query($sql_2,$connection) or die(mysql_err
I am trying to sum a query of values from a MySQL table. The code I am
using is:
---BEGIN CODE #1--
$sql_2 = "SELECT SUM(partpaidamount) as partpaid
FROM $tb_name
WHERE invoiceid = \"$invoiceid\"
";
$result_2 = @mysql_query($sql_2,$connection) or die(mysql_err
I have a quick simple question. I am using PHP 4.2.3 on Linux. I am trying to turn
register_globals from off to on. Is all that I need to do change it from off to on in
the php.ini file? Do you I need to reboot to have the changes go into effect? Sorry
for a simple question but I am new at
Is the change in the php.ini file the only thing that I need to change to turn on
register_globals?
>
> From: "Jonatan Pugliese." <[EMAIL PROTECTED]>
> Date: 2003/08/15 Fri PM 01:18:01 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PR
Is the change in the php.ini file the only thing that I need to change to turn on
register_globals?
>
> From: "Jonatan Pugliese." <[EMAIL PROTECTED]>
> Date: 2003/08/15 Fri PM 01:18:01 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PR
I have recently had php installed on my server with sendmail. The server is behind a
firewall and SMTP is open on the firewall. However, when I execute the mail(), it
appears to have sent the mail, but I never receive it. I am not getting any error
messages. Has anyone ever run into this pro
I have a subscription service and am trying to not allow the buyer to
proceed purchasing another subscription if one of their subscriptions is
over 29 days past due in their payment. I am trying to query each invoice
and checking to see if it is past due more than 29 days, if it is I want a
messag
How do I easily check to see if a MySQL formatted date is valid such as if a
user enters
2003/02/28 would return true
2003/02/31 would return false
I have check the manual and other resources but can't come up with anything.
---
I have tested a lot of the hosting providers and the best I have found is
Valueweb. Lots of bandwidth (500gb), unlimited domain hosting, and managed
ensim control panel. I have been with them a couple months and everything
seems good.
-Original Message-
From: Mike Morton [mailto:[EMAIL P
read.php
which says to just specify a constant and it will work, but what ever
number i specify, that is the amount of data that is read.
how do i retrieve the content type?
thanks for any help...
mike c
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
What I want to do is have an IF statement which the results would create a
variable. The IF statement is:
IF ($car == "BMW" AND $model == "530i") echo ("Price is 35,000 dollars");
I want the "Price is 35,000 dollars" to be a variable. Please help with how
to do this.
Thanks,
Ben
--
PHP Ge
John, It works...thanks
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 8:34 PM
To: 'Ben C.'; [EMAIL PROTECTED]
Subject: RE: [PHP] Creating a variable out of a IF statement
> What I want to do is have an IF statement whic
I want to create a table in PHP with data from a MySQL database table. Can
someone please help with a sample script. I know this is probably easy but
I need quick help. I searched the archives and couldn't find something this
simple.
Please help.
---
I am not sure if that is what they want. I will try it and get back. Good suggestion.
>
> From: Adam Voigt <[EMAIL PROTECTED]>
> Date: 2002/11/05 Tue PM 12:33:00 EST
> To: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Subject: Re: [PHP] Creating SSL Connection to Accept Credit Cards
>
> Like:
>
Is there anything else that I can do. I am running PHP 4.1.2 so the fopen() doesn't
work and I donot have support for CURL. Any other suggestions?
>
> From: "Jaime Bozza" <[EMAIL PROTECTED]>
> Date: 2002/11/05 Tue PM 01:09:37 EST
> To: "'Ben C.
I am using the following query:
$sql ="SELECT company, name, email FROM $table_name
WHERE email = '$_POST[email]' AND password = password('$_POST[password]')";
Then I am echoing the $email on my form (it works because the person has posted their
e-mail name when logging in). How can I
I am receiving the following error on my change password form:
Warning: Cannot send session cache limiter - headers already sent (output started at
/home/httpd/vhosts/localhost/httpdocs/order/change_psswd.php:14) in
/home/httpd/vhosts/localhost/httpdocs/order/change_psswd2.php on line 4
Does an
age.
Does this help you understand???
Thanks, Ben
>
> From: Adam Williams <[EMAIL PROTECTED]>
> Date: 2002/11/12 Tue PM 05:26:09 EST
> To: "Ben C." <[EMAIL PROTECTED]>
> CC: <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Error Message
>
> are you using
I am trying to have a form that send a user their email and password to login. I am
using the following:
while ($row = mysql_fetch_array($result)) {
$email = $row['email'];
$password = $row['password(password)'];
When I use the mail() function to send both $email
Is there not any way to reverse the crypted password before e-mailing??
If not, how do I use ENCODE / DECODE?
>
> From: "rija" <[EMAIL PROTECTED]>
> Date: 2002/11/12 Tue PM 07:32:28 EST
> To: "php" <[EMAIL PROTECTED]>,
> "Ben C.&q
I was setting up a news site that is customized for the registered user. I
wanted that user to have the ability to be able to click a button and have
the password e-mailed to him. The password function that I used is
password(password) through mysql. Do you know how I can get the encrypted
strin
Tho, when you think about it, most PHP developers COULD use a dating
service. :)
Seriously tho, this is a good idea. Thanks for the info Jay.
~ Chris
D.O.D
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 12:24 PM
To: [EMAIL PROTECTED]; [EMAI
This is not a PHP question but didn't know where else to ask it. I am
uploading files via SSH Secure File Transfer and am getting the following
error message.
--error message start--
Failed to scan directories. Error 6: C:/Documents and Settings/My
Documents/My Webs/dynamic/1.php: No such
I am having problems using the following functions; trim(), ucwords(), and
others. Do I have a setting wrong?
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would also be interested in seeing the code as well. If you could also
e-mail it to me, I would be very appreciative.
Ben
-Original Message-
From: Jason Sheets [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 4:56 PM
To: Wouter van Vliet
Cc: PHP General
Subject: Re: [PHP] Ses
I am using the code below to export my data into an excel file. The code is
located in a password protected area which is checked against saved session
variables. However when I put session_start(); the download errors out.
Does any one have any suggestions? Please help.
--
PHP General Maili
Hello
Could I get a recommendation on some good starting PHP books?
Thanks
--
Later Days:)
Michael Clesceri
""Perfection (in design) is achieved not when there is nothing more to add, but rather
when there is nothing more to take away."
Forgive me for asking again
What is CVS?
I am really new to PHP and just want to make sure I am looking at the right list
Thanks for your information in advance
--
Later Days:)
Michael Clesceri
""Perfection (in design) is achieved not when there is nothing more to add, but rather
when there is
it
supports read-only access to filepro, but it looks like I'll need the
php_filepro.dll.
I'm running Win2K Pro and Apache
Any help in locating the module would be greatly appreciated.
Kent C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
I am new to PHP having converted from ASP (don't beat me up, it just took me
a while to see the light)
MY QUESTION: What in PHP acts like the 'server.mappath' function in ASP? It
gives you the ability to determain the root of the web site and use it as a
reference.
MY PROBLEM: I have been able t
In electronic format that I can have? It is included in the book 'MySQL' by Paul
DuBois ? I have a parse error in my script that I simply cannot find (after many, many
tries).
TIA
Regards
Mike C
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I have not been able to find an electronic copy of the above script that is in the
book 'MySQL'.
Is anyone prepared to help me out. My, self-typed version contains a parse error that
I cannot find?
Regards
Mike C
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
It was suggested I send this to the list. The 'samp_db.inc' file follows this. The
parse error is:
Parse error: parse error in /edit_member.php on line 11
#edit_member.php
\n",
$PHP_SELF, DISPLAY_ENTRY);
print ("Enter your membership ID number and password,\n");
print ("then select submit.\n\n"
Hi Janet,
>
>The problem is on this line.
>
>print ("\n");
>
>There is a space between the \ and the " before Submit.
Yes indeed :-(, how could I miss that
Your wonderful :-) Thank you (and others) so much.
Regards
Mike C
--
--
PHP General Mail
d to restrict the size of the file upload to approx 300kb
I found a good example at http://www.weberdev.com but it's a little too cut-down for
me!
Thanks
Mike C
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
I know that people have asked about this before, so let me appologize ahead
of time but I need quick help. I have a url which looks like
http://www.domain.com/remove/index.php?id=test. I use the echo function to show the word test. What I want to do is send this variable
along with other infor
Is there an easy way to upload a CSV file into a MySQL table? Is there also
a way to export the MySQL file into a CSV file? I would like to make a form
using PHP to do import a CSV file into an existing table. Any advise would
be appreciated.
Ben
--
PHP General Mailing List (http://www.php.
"Ilya V. Lazarev" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi !
> Has anyone tried zip_open in PHP 4.0.6 ?
> It says me that no such function. I've looked at php src and found
> zzip_open(), but this one expect more than 1 arg ( supposedly 2 ).
File/pat
> I would say this comes in a close second as the "most oft-asked question
on
> php-general", with the first, of course, being "What's a good text editor
for
> PHP?"
hehehehe... Thanks
Chrisrtian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Hello :c)
im looking at some code i found on the net and
i cant find any info on "this"... it's used like:
$this->mode = $mode;
I have looked in the online help doc but it did'nt
return anything, any one know??
--
Thanks
Christian Charette
www.charetx2.com
--
P
Hey folks,
I am working on a database-driven site, and
have run into a problem. It's not a problem with any
existing code, more of a "how the heck do I do this"
sort of thing.
I have a table, that is generated from a database
query:
+---+---++--
On Mon, 26 Nov 2001, Martin Towell wrote:
> you said you tried a text field, have you tried a hidden field?
Alrighty then, my greenness shows. :)
The hidden field idea was perfect (never used one before).
Thank god I'm just playing around with my _own_ site. ;)
Thanks Martin!
Benny
~
Hi,
I just started with PHP. (I used to work on ASP a lot)
What does the syntax ".=" do?
i see a line of code that says
$Msg .= "Test is complete"
I'm thinking it means concatenate $Msg with "Test is complete" and then
store the new string into $Msg
Am I right?
Thanks.
--
PHP General Mail
ords.
Does anyone know what causes this?
Also... the value i have for $email is from:
$email=explode("@",$emailAddress);
$email=$email[0];
Thanks,
Victor C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
008 22:43:37] PHP Warning: gethostbyaddr()
[function.gethostbyaddr]:
Address is not in a.b.c.d form in C:\www\tests\saved\host.php on line 7
Google has not been my friend in this matter...
Any insight?
Thanks,
Glen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11/22/2008 02:17 AM, Lars Torben Wilson wrote:
2008/11/21 Glen Carreras<[EMAIL PROTECTED]>:
On 11/22/2008 12:10 AM, Lars Torben Wilson wrote:
Hi Glen,
Works for me. IPv6 support was added in 2001. You didn't say what
version of PHP you are having this problem with, so it's hard to say
why
On Thu, 2009-05-21 at 09:54 -0400, tedd wrote:
> My thoughts are -- my understanding the reason why tables have
> received such bad-press is that designers have abused tables in
> holding designs together with nested tables AND in doing so made it
> difficult for the visually disabled to pull conte
Is there a straightforward way (or, heck, any way) of placing mixed
html/text content into xpath-specified nodes using any of PHP's XML
tools?
So far, I've tried SimpleXML and the DOM and things aren't coming out well.
SimpleXML:
/* $filename contains path to valid XML file, $xpathxpr conta
On Thu, May 21, 2009 at 12:10 PM, tedd wrote:
> Could you be certain that your algorithm would figure out which way it needs
> to present the text to a blind person?
My own experience browsing the web with Lynx (which for the most part,
tends to ignore table layout, giving you the content of tabl
Hi all,
I'm writting a little telnet client, but I've a problem with the socket_write
function
public function send($data){
$datalen = strlen($data);
$datawritten = 0;
do {
$datawritten = socket_write($this->_tnsock
Matt Neimeyer a écrit :
I'm at a complete loss... So I'm hoping someone can point me in the
right direction to even start looking.
We have an application written in PHP that lets users send out emails.
The basic process is as follows.
1. Go to "start" screen. (This resets anything currently in
//optional
headerfields
$fullto = $recipientname . " <" . $recipient . ">";
ini_set('sendmail_from', 't...@test.com');
mail($fullto, $subject, $mail_body, $header); //mail command :)
?>
Thanks,
c...@hosting4days.com
newbie question ... I have a MySQL table where I want to update
(renumber) the primary numeric key field.
- I successfully turned field off as a primary key index and UN auto
incremented it
- then created new sequential numbers for it
- then turned back on primary key index and re added auto
So, I've got a little piece of code designed to play with catching the
exception that's thrown when an object doesn't have a __toString
method.
This does not run as expected. I'd think that when the implicit string
conversion in the try block hits, the exception would be thrown,
caught by the ca
On Thu, Jul 16, 2009 at 7:42 AM, David
Otton wrote:
>> If it's catchable, why isn't it caught in my example?
>
> It's not an exception, it's a "fatal error". Fatal errors are caught
> by error handling functions, not by catch blocks.
>
> Consequence of having (at least) two separate error handling
newbie ...
- is there a calendar module for date fields?
- so that a small calendar pops up - then you can click on a date,
to add to a field - like google or yahoo calendars has...?
BTW: I saw this - but it doesn't seem to be the right thing ( more
meant for Converter issues) for what I'
On Jul 21, 2009, at 6:17 PM, Jonathan Tapicer wrote:
That is javascript thing, not PHP.
The Yahoo UI has a nice one, here you have an example:
http://developer.yahoo.com/yui/examples/calendar/
calcontainer_clean.html,
and here the module reference:
http://developer.yahoo.com/yui/calendar/
J
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
"checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution"
Now, mysql (4.1.22) is
What ways are there to tell if PHP is actually built into an Apache 2
installation or if it's installed as a shared object?
I've dropped a file containing phpinfo() on the server I'm looking at,
hoping the Server API value would give me a clue, but it just says
"Apache 2.0 Filter," and I don't kn
On 4/19/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Thu, April 19, 2007 4:08 pm, Weston C wrote:
> What ways are there to tell if PHP is actually built into an Apache 2
> installation or if it's installed as a shared object?
>
> phpinfo() / Server API value .. just
1 - 100 of 504 matches
Mail list logo