t using overlib. ;-)
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strip slashes http://us3.php.net/stripslashes
>
> stripslashes($messageVariable);
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rrectly". What is the nature of the data
> the application sends to the PHP and ASP pages, why does it need a
> persistent connection (again, maybe this isn't the right question to
> solve this problem) and what's the PHP page doing that the ASP doesn't.
> Is it not ret
http://pear.php.net/package/LiveUser
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
veUser does this.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that the SMPT server value points to a valid SMTP server?
>
> Thanks
>
> Tryst
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
ctly, and a trace using ethereal showed that the
> > difference was the "Connection: close" header being sent with
> > the php page, while the "Connection" header was not present
> > in the asp page's response. I tried using the latest version
> > of php,
to keep it in sync. Also, they just might not accept
the code.
If you need a system to plug into a PHP script, there are some good
permissions packages out there. One is:
http://pear.php.net/package/LiveUser
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/
h to work right, myself.
> MSIE6 works perfect but NS7 adds .php extension when I try to force NS7
> to download a file. How to fix this problem
>
> Thanks for help ...
> Oleks
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://ww
ataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rror message:
>
> PHP Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE
> in...
>
> Anyone have any ideas or suggestions?
>
> Thanks,
> Jim
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/
b_symbol'] == "Save Changes")
> {
>$sql = "UPDATE tblSymbols SET \"swmName\"='".safeSQL
> ($_REQUEST['swmName'])."', \"swmImgPath\"='$img_name',
> \"swmEpsPath\"='$eps_name' WHERE \"irpS
echo '';
> ?>
>
>
>
> When I access the page with either FireFox 0.9 or IE 6.0 BLOCK TWO
> prints ../media/ads/001.jpg but, BLOCK ONE is totally skipped over.
>
What does the HTML source of the web page look like? Can you put this
online so we a
that awful message at the bottom of your
mails. It's meaningless and annoying.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 31 Jul 2004 15:15:33 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote:
> On Sat, 31 Jul 2004 22:13:49 +0200, Schalk Neethling
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > Justin
> >
> > I copied your php string with the ; at the end and as befor
all one one line. If that doesn't work:
';
echo '';
echo '';
?>
Also, try setting $row_ads['full_img'] to something you know will work
just before the echo. Perhaps your value in that array isn't
populated.
Try print_r($row_ads['full_img'])
mtp_host."";
>
>$banner = @fgets($fp, 1024);
>// perform the SMTP dialog with all lines of the list
>foreach($smtp as $req){
>$r = $req[0];
>// send request
>@fputs($fp, $req[0]);
>// get available server messages and stop on errors
>if($req[1]){
>while($result = @fgets($fp, 1024)){if(substr($result,3,1) ==
> " ") { break; }};
>if (!strstr($req[1],substr($result,0,3)))
> echo"$req[2].$result";
>}
>}
>$result = @fgets($fp, 1024);
>// close socket
>@fclose($fp);
>return 1;
>}
>
> ?>
>
> Your help would be appreciate it! Thanks
>
So what's your problem exactly?
You could always try going with another mailing solution:
http://pear.php.net/package/Mail
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot; />' ?>
>
1) Put a semi-colon at the end of the line.
2) I would suggest not using the PHP tags inline as it makes the code
hard to read
3) Have you looked at the source HTML for the page to see if anything
gets output?
';
?>
--
DB_DataObject_FormBuilder -
t this error "Parse error: parse error,
> unexpected T_STRING in c:\Inetpub\wwwroot\TestPHP\comments-view.php on line
> 1"
>
> Can anyone help.
>
Turn off short_open_tag in your php.ini.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/D
DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s means? This is the only warning I see.
>
Please search the archives before posting, we were talking about this yesterday.
http://marc.theaimsgroup.com/?l=php-general&m=109021837828927&w=2
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/D
e . '.php');
> >> }
> >>
> >>
> >>>As that would mean the macro code would not slow the linux
> >>>machine down at all when running the php script if it did
> >>>not even have to evaluate to see if it did need to run the
> >>>macro function, although I know php is a scripted language
> >>>and not compiled like C/C++ so I don't think its possible
> >>
> >>Note: PHP goes through the compile step, it's just that everything is compiled
> >>on demand.
> >>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
other people's
> experiences...
>
> Thanks,
>
> -Flint
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> !DSPAM:40eecc5a7186397312192!
>
>
--
DB_DataObject_FormBuilder - The database at your
gt; telling me please, over who i could get some more informations.
> >
> > PS: sorry about my english, but its d**n late here.
> >
> > best regards
> > CBQ
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.p
Darren Horrocks wrote:
is it posible to use SOAP in 4.3.7, or is it a php5 only thing?
Yes, of course it is. PHP5 just has SOAP functionality built-in. I would
suggest using PEAR::SOAP.
http://pear.php.net/package/SOAP
--
paperCrane
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscrib
Joakim Ling wrote:
Hi
Im tring to send XML thru POST to a server. I have a demo in asp that
works fine but how do I write this in php.
This is the ASP demo
sXML = "
Call oHttpConn.Open("POST", sURL, False)
Call oHttpConn.setRequestHeader("Content-Type", "Text/xml")
Call oHttpConn.send(sXML)
sXMLRe
Ross Honniball wrote:
Hello all,
This is nothing to do with php, but it's the only list i'm subscribed to
right now and I'm too lazy to join another. And you php people know more
than just php, right?
I'm chasing some very slick pretty pictures for drawing navigation buttons
(ie. '<< start', '<
Chris Patrick Carias Stas wrote:
I have problems running php scripts under w2k. for example, a form to send a mail. I
has 3 fields, name, email and msg. The actions goes through POST to a file send.php.
In send.php i try to use the variables $name, $email and $msg, but it says they are
not decla
Lenny Davila wrote:
I am trying to find a photo gallery (Preferrably PHP based) that I can set
up for a client that would allow him/her to upload their own photos, and
leave a caption under. The client will update the album regularly and wants
to be able to do it on their own. They wouold also l
Noah Lively wrote:
Hi all,
I have a class that I'm using with a SOAP server. Inside of a function in
this class, I am trying to set a cookie, but have been unsuccessful so far.
I'm using PHP5 RC2 on Windows XP. Cookies set fine on my server in other
places, such as classes (that aren't used for
Ron Herhuth wrote:
I am trying to build an automated dashboard sort of thing that goes and
checks if several of my clients sites are functioning and reporting back
the findings.
I have two types of URLs that I'm attmepting to check.
1) Typical static URLs example: http://www.yahoo.com
2) I would
Brent wrote:
Hi, just wondering if anyone knows of some plugin or class etc that will
allow
me to receive email from a mail server via pop3. i have looked at PHP mailer
but
that only seems to send emails.
Thanks,
Brent.
http://pear.php.net/package/Mail_IMAP
--
paperCrane
--
PHP Windows Mailing L
Leonardo Javier BeléN wrote:
I am using a winnt server 4.0 box with apache 1.3x and php 4.2.x to serve some intranet pages. The strange thing is that i am not able to use the get method properly. Has anyone an idea of what am i doing wrong? at least I need the session id to be populated by gets.
Kaizer Boab wrote:
This has still got me stumped.
I tried the following script to update the table but I'm still experiencing
the same result, only one row updates, the rest remain unchanged.
while (list($k, $v) = each($qty))
{
$newQty = $v;
$update = "update cart set qty = $newQty WHERE track
Kaizer Boab wrote:
I have changed it to name="qty[]" . How would I reference it on my
processing script?
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Kaizer Boab wrote:
Hi Justin,
I only have the one qty field in the View Cart page. It
Kaizer Boab wrote:
Hi Justin,
I only have the one qty field in the View Cart page. It is part of a loop to
pull out all the quantities from the cart. It is retrieved via the script
below:
Kaizer Boab wrote:
Hi everybody,
I have built a shopping cart using tables. I am able to add items and remove
items from the cart. The problem I am having is updating the quantities in
the cart.
When users view the cart they can see the quantity in a text field. I want
to allow users to type in t
Tony Devlin wrote:
How can I setup a query to select from a database ONLY the last 5 inserted
rows. OR atleast the last 5 starting from this date back, but only select
the last 5 in order.
If anyone has any suggestions I'd appreciate them.
Thanks,
Tony
I would set up a timestamp column in
Jim Macdiarmid wrote:
Can anyone shed some light on these two? Pros and Cons, etc. I've just
ran across an article that mentions that PHPLib is the "defacto"
standard. I've recently started using the PEAR::DB in a web application
and I'd like to make sure that I'm working with something that is
Ron Herhuth wrote:
I am dying here. I'm on a deadline and I can't get
attachments...specifically PDFs and Word Docs to send without corruption.
I am using the script below to send the emails, and I have used several of
the classes on PHP.classes to try but everytime the files show up and the
error
Ron Herhuth wrote:
Hi,
I'm trying to send an attachment via email using the following function,
but it keeps coming through damaged. I am having no trouble emailing the
same attachment using OutLook. Is there something wrong with the function
I'm using? The attachment shows up and I'm not gett
[EMAIL PROTECTED] wrote:
Hi all,
I have a problem in that when I am retrieving data from MySQL that containes
double quotes, the double quotes gets repeat, and also the string that does
contain double quotes gets double quotes added to the begin and end of it For
example I get the following:
BTW, that's called Short Circuiting.
B.A.T. Svensson wrote:
I asking because i read through the section about expression, but it
was just wining about that $a == 5 if $a = $b and $b = 5, and other
trivial matters. So if you could point me to the manual section you
are referring to, I would apprec
If you're just starting out, this is a great time to learn PEAR DB as it
can help you a lot in the future. In fact, PEAR is a great place to look
for lots of code to do all sorts of things.
http://pear.php.net
http://pear.php.net/package/DB
Felipe eduardo ortiz lópez wrote:
Bueno, héme aquí, un
Will wrote:
I have a problem. When I put 2 email addresses together it does not
send the email. The coding is like this:
$recipient = "[EMAIL PROTECTED], $_POST[email]";
The send form looks like this:
$recipient = "[EMAIL PROTECTED], $_POST[email";
$mailheader .= "From: $_POST[email]\n"
Gerardo Rojas wrote:
I am passing a path value from a form input to a script. For some reason, the path ends up with 2 slashes instead of one (which is the way i typed it in). Any help would be appreciated.
Environment:
PHP 4.3.4
Windows2000 Pro
IIS 5.0
--
Gerardo S. Rojas
mailto: [EMAIL PROTEC
Michael Horton wrote:
Hi,
Having just recently started to try and use php (by necessity- the only
person in the department who used php left us recently).
I'm trying to make a form to send out a specific e-mail to the selected
recipients. I've managed to get it to send an html e-mail to the recipi
Gerardo Rojas wrote:
I am able to connect to my MSSQL server and do whatever i need to do. The problem lies in that when I close the connection and the script terminates normally. I do a 'netstat' on my machine i see that i still have a socket connection to all my databases. Isn't the mssql_clo
Sudeep sarath wrote:
Hi everyone,
A small problem..Help me out of this.
I have to convert the server date and time to my local date and time i.e Indian standard time(IST)(or to my system time).
My program is :
$display=date("F d, Y");
$time=date("H:i:s");
echo $display."";
echo $time;
?>
Harpreet K. Singh wrote:
I am trying to run an exe file from my php page. But i get an error Access
is denied
I am trying to open the file using javascript
document.location=fp
Thismight be a javascript question but if any one can help that would be
great
Regards,
I believe that javascript isn'
Yuegong wrote:
> Hi,
>
> How to create a 2 colors(B&W) bmp image by php ?
> Thanks.
>
> yuegong
>
There is no built-in way to do this. The GD library functions only
support creation of colored images. You can easily just use black and
white. See http://us2.php.net/manual/en/ref.image.
Manuel Lemos wrote:
Hello,
On 02/19/2004 02:35 PM, Justin Patrin wrote:
I'd like to apoligize to the list for wasting bandwidth and venting
like this. Not only did this huge conversation accomplish nothing, it
was fairly personal and should have been conducted off list. I'll stop
I'd like to apoligize to the list for wasting bandwidth and venting like
this. Not only did this huge conversation accomplish nothing, it was
fairly personal and should have been conducted off list. I'll stop doing
such things unless they are on topic.
But I won't stop proposing usage of PEAR p
Manuel Lemos wrote:
Hello,
On 02/18/2004 06:40 PM, Justin Patrin wrote:
The main point of requiring a valid address has nothing to
do with sending you spam, but rather to make it difficult
for some authors to boost their top download ranking
positions by creating many accounts and download
Hubo wrote:
When I attempt to view the generated test.jpg in a browser, it is unable
to
display. Same with photoshop and the windows built-in pic viewer.
I know that the base64 data is not corrupted, since I can get it to
display
properly in netscape with the following code:
echo '';
Unfortuna
Manuel Lemos wrote:
Hello,
On 02/18/2004 02:15 PM, B.A.T. Svensson wrote:
The main point of requiring a valid address has nothing to
do with sending you spam, but rather to make it difficult
for some authors to boost their top download ranking
positions by creating many accounts and download the
Manuel Lemos wrote:
On 02/17/2004 07:26 PM, Justin Patrin wrote:
However, I am more interested in legitimate users that download and
try the code. This helps me test my code more intensively and iron
any bugs or limitations much faster. I do not even wish or expect
people to thank me. As long
Once more into the breach.
Manuel Lemos wrote:
Hello,
On 02/13/2004 08:13 AM, B.A.T. Svensson wrote:
Why would you go watching TV in the neighbours house when you have
your own TV working at home?
Because of the usual reasons: they might have a bigger or better TV,
or they might have a broad
Manuel Lemos wrote:
>>
>> No, not directly, but that hardly seems to matter as the original post
>> asked about relaying.
>
>
> You do not seem to be paying attention. The original post asked
> explicitly about overriding relaying. Read again.
>
>
>> Problem 2
>> You can't override the relaying ser
Manuel Lemos wrote:
Hello,
On 02/11/2004 08:57 PM, Justin Patrin wrote:
Has anyone dealt with this? Any suggestions before I try and botch my
own solution?
I would suggest dumping Windows and use a Unix/Linux solution with
sendmail or compatible program like qmail, postfix, etc...
If you
Manuel Lemos wrote:
Hello,
On 02/11/2004 09:13 AM, Paul J. Smith wrote:
At the moment you only seem able to send mail via a specific host
specified in the ini file.I want some resilience so I can send
emails even if the first mail server cannot accept email.
Problem 1
As far as I know mail()
Sven Schnitzke wrote:
Hi,
may I assume you want to automatically feed the otherwise human answers to
the dialog presented by the search engine/catalog ?
This is possible but at least a little tedious. First you shold make sure that there
positively isn't any HTTP RPC (no misspelling, I mean remot
Donatas wrote:
Has anyone ever tried to imitate a browser with PHP or seen code
snippets that could help?
Scenario would be (everything via PHP):
-login to the page sending username and password and all other necessary
fields via POST
-now that the script is "logged in (session started)" we my u
You may want to try SELECT * FROM dvd WHERE key="value" AND key2="value2"...
Kaizer Boab wrote:
I am trying to build a shopping cart for my college project. I am able to
display items from the database, add items to the cart, but I am unable to
view the items that are in the cart. In my "view_cart
Piotr Pluciennik wrote:
Try this way... remove and
trying to call PHP.
?>
HTH
Piotr
--- Ahmad Khashan <[EMAIL PROTECTED]> wrote:
I am trying to get this code to work:
trying to call PHP.
?>
The PHP code is not executed. Any way to
George Pitcher wrote:
Hi,
I am developing my main site to run on php/mysql (currently
lasso/filemaker).
I am also developing some individual sites to be hosted on the same server
as my main one and I'd like to be able to update those smaller site
databases when activity happens on the main site.
Gerardo Rojas wrote:
I have a connection to an MS SQL server. I am able to get a list of all available DB's on this server by running:
"exec sp_helpdb"
the question is: How do we return all tables from a selected db for MS SQL?
i am developing a web interface to the DB. I need to be able to g
Harpreet wrote:
I use the below function string to connect to the database.
mssql_connect($_SESSION["hostname"],$_SESSION["user"],$_SESSION["password"])
now if i want to connect using the odbc_connect function do i have to
change all my mssql_fetch_array and mssql_query functions too.
Please he
I don't use ereg myself, but with preg_replace you could do:
$str = preg_replace('/\[\/URUB\]\s*/', '', $str);
Bobo Wieland wrote:
Hi...
I'm trying to use ereg_replace to replace "[/URUB]" with ""
The problem is that ther might, and might not, be any number of trailing
whitespaces after the [/U
69 matches
Mail list logo