From: "Maxim Maletsky" <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 5:00 AM
> I think PEAR has it.
>
> have you tried to look at it?
Found it, thanks!
It contains HCE_MD5, but AFAICT it does not utilize the other encryption
modes found in mcrypt. But it doesn't matter - I think this is fin
Is anybody knows how can I redirect to another page
and the REFERER to another page to be my page ?
Thanks,
Rosen Marinov
""Rosen"" <[EMAIL PROTECTED]> wrote in message
9c912a$had$[EMAIL PROTECTED]">news:9c912a$had$[EMAIL PROTECTED]...
> Hi,
> I have BIG problem using "HTTP_REFERER".
> I have t
you need to use the addslashes() command which will escape the quote mark
for you, so something like
$query="insert into trivia (trivia) values ('" . addslashes($line) . "')";
however, you will find that on a machine which is configured with
magic_quotes_gpc turned on, you will end up with somet
Hi, I have a problem,
that when I get a parse error it always says that it's on line 1 in
this or that file.
Where is the configuration option to set this right?
I have on another server seen that it's possible to get it to state
the actual error line.
(it's PHP Version 3.0.15 on solaris)
Plea
http://www.php.net/addslashes
-jack
Subodh Gupta wrote:
>
> Hi All,
>
> I created a table using the create command.
>
> create table trivia
> (
> entry_id integer not null auto_increment,
> trivia text null
> );
>
> Now I have a fle tvia.txt, the content of which are as follows:
Hi All,
I created a table using the create command.
create table trivia
(
entry_id integer not null auto_increment,
trivia text null
);
Now I have a fle tvia.txt, the content of which are as follows:
The average person's left hand does 56% of the typing.
The longest one-syllable wo
Your httpd.conf configuration should look something like this:
AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps
-Original Message-
From: j2n tech [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 8:42 PM
To: [EMAIL PROTECTED]
Su
On Fri, 27 Apr 2001 14:27, waro wrote:
> Hello,
>
> I just learn PHP for a month now. It's hard for me
> since I have no background in programming (I do HTML
> but this is totally different).
> Last few days I try to make a simple script so
> visitors can search my site. I use a MySQL database
> h
i try to use Semaphore and Shared Memory ...
but all... trying is failed @,@
please send some good example
about using Semaphore and Shared Memory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Hello,
I just learn PHP for a month now. It's hard for me
since I have no background in programming (I do HTML
but this is totally different).
Last few days I try to make a simple script so
visitors can search my site. I use a MySQL database
here and there are some tables to handle my other PHP
w
Hello,
Is there any way I can send two forms at one time? What I want to do is to
have two forms with different method (GET and POST), and then send them at
one time, so that in the next page I get both $HTTP_POST_VARS and
$HTTP_GET_VARS. To illustrate this:
[root@blackwidow logs]# gdb /usr/local/apache/bin/httpd
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to s
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote:
> SELECT
> SUM(quantity)*SUM(total) As mySUM
> FROM
> table
> WHERE
Technically, this is correct based on what the original poster (below)
stated he wanted, but that's not really what he wanted since there's no real
world reason to calculate what he sta
"SED" <[EMAIL PROTECTED]> wrote:
> If I make a whole website based on one PHP-navigation file with links like
> "index.php?id=123", will all the search engines who crawl the websites be
> able to follow it and index?
A lot of them won't index pages with query strings (the part after the "?").
I p
I'm trying to get a webmail client to work under RH 7.1 with Apache 1.3.19.
I downloaded php-4.0.4pl and configured and installed it. Now when I try to
bring up a php page it trys to download it instead of execute. I added the
"AddType" line for php4 in my httpd.conf but it made no difference.
some do, not sure which do and don't these days though. for related
information, check out this tutorial :
Building Dynamic Pages With Search Engines in Mind :
http://phpbuilder.com/columns/tim2526.php3
regards,
philip
On Fri, 27
Hi all,
If I make a whole website based on one PHP-navigation file with links like
"index.php?id=123", will all the search engines who crawl the websites be
able to follow it and index?
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
--
Phone:
I think the question should be what's wrong with
Windows? :)
Sorry, I can't give you more of an intelligent answer
Steve
On Thu, 26 Apr 2001, Mig wrote:
> Hello, I can't understand the reason apache server running locally on my
> Win98 machine delays so much to respond browser when accesi
it should.
if(is_array($x[0]))
$count = count($x[0]);
else
$count = 'not an array';
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Chris Anderson [mailto:[E
STRIPSLASHES();
use single quotes for the array.
add the slashes in front each JS's single quote,
when echoing use :
echo stripslashes($js);
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original
no, sockets are not a bad solution at all. They are just as fast.
And plus fsockopen has more functionality such as timing out, result
messages, mess_num etc... what fopen doesn't have.
I think fsockopen is better for this job.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginne
I had what I thought was a great idea in creating a downloadable phone
directory using PHP to connect to the LDAP server and gather the info for
output. I originally wanted to have it create a PDF document, and still
would, but I don't think that you can create multiple page documents with
PHP and
I cannot find any documentation on mkstemp() . Can somebody point me in the
right place?
thanks
randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [E
yeah.. the loop.
see php.net/arrays
most of the coolest array functions were introduced in PHP4
if you are trying to make a dynamic portable application you might want to
look into phpversion();
this will tell you which version it runs, and based on that will select the
best way to find the re
it just as same as doing a query:
$db->connect();
$db->query("ALTER TABLE table CHANGE field field ~ATTRIBUTES~");
well, that was with a DB abstraction layer.
just use what you usually use to query your Db having your ALTER TABLE in
the mysql_query. (no need to show the results up)
Sincerely
I think PEAR has it.
have you tried to look at it?
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Carsten Gehling [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5
SELECT
SUM(quantity)*SUM(total) As mySUM
FROM
table
WHERE
...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT
Have a look at this post :
http://marc.theaimsgroup.com/?m=98571030029538
regards,
philip
On Thu, 26 Apr 2001, Manesh wrote:
> Warning: Undefined variable
>
>
> How do i get rid of this???
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTE
You want to find the Error :
Modify the error reporting section of you php.ini.
You may combine different error settings with the symbols "~"
(not) , "|" (or), and "&". to control the final error reporting level.
As an example, the default setting "E_ALL & ~E_NOTICE" means "report
all errors
Hi all
I tried to make a login function for my site using script below, but after I type user
name and password, it asked me to type again and again and simply reject it, although
I have made sure that the username and password I used to test is in the table for
sure. No database connection pro
manesh,
its in your php.ini file under error handling and logging...
seek and ye shall find...
-jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
just point your browser to phpbuilder.net. Alternatively, just send me an email =)
Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT)
From: John Monfort <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: PHP
where is that?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack
Dempsey
Sent: Thursday, April 26, 2001 10:38 PM
To: Manesh
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] What is this??
Manesh wrote:
>
> Warning: Undefined variable
>
>
Manesh wrote:
>
> Warning: Undefined variable
>
> How do i get rid of this???
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
Warning: Undefined variable
How do i get rid of this???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
At 22:23 26/4/2001 -0400, Joao Prado Maia wrote:
>Actually the correct sequence is \r\n on Windows platforms. Just a small
>note.
Yeah! You're right. I made a typo here:-)
Nice to know I'm not alone. See you at php-pt;-)
[]'s
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
On Thu, 26 Apr 2001, Alex Piaz wrote:
> At 22:07 26/4/2001 -0400, you wrote:
> >Hi all,
> >I know how to get a line break in text. Is there a way to get a line break
> >between the user agent string below? I would line to print in a column
> >instead of a long row.
>
> Use \n\r concatening with
At 22:07 26/4/2001 -0400, you wrote:
>Hi all,
>I know how to get a line break in text. Is there a way to get a line break
>between the user agent string below? I would line to print in a column
>instead of a long row.
Use \n\r concatening with your actual string
See below:
>$newfile = fopen("
Hi all,
I know how to get a line break in text. Is there a way to get a line
break between the user agent string below? I would line to print in a
column instead of a long row.
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Thanks Andrew, but I found it. It's working pretty well, so far.
Thanks for the help.
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___
why don't you assign in next page like this?
$newvar = $test;
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: AJDIN BRANDIC <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 5:53 AM
Sub
Since I posted the questions, I thought I'll post the solutions.
For those interested, UDzone.com has a PHP Server Model for Macromedia
Ultradev. It's a beta copy, but it seems to work pretty well for
PHP-MySQL.
You can find it at:
http://www.udzone.com/showDetail.asp?TypeId=3&NewsId=505
Check out www.interakt.ro
It's beta... but functional.
Best regards,
Andrew
On Thursday, April 26, 2001, at 06:46 PM, John Platte wrote:
> John Monfort wrote:
>
>> I was wondering, is anyone aware of a PHP server model, for Ultradev?
>>
>> Or, any leads on how I can create one?
>>
>> I'm devel
Hello,
please correct me if I'm wrong, but it seems that in PHP 4, after calling
session_start(), you are stuck with serving an HTML page.
What if you want to call session_start(), but you want to send headers
after the session has started? for example, I'd like to deliver a
downloadable file,
I have a problem with my PHP scripts on my web-hot, all my php scripts are
running as the user nobody (group nobody).
Whenever I login via ftp/telnet I am logged in as the user asduk (group
asdukgrp).
The problem I have is that I cannot delete my files because the permissions
on the directory is
We've worked on similar, but somewhat less ambitious projects,
and I will caution you on the 'easy' part of this. It will never be
easy. Doesn't matter who your target audience is - you're biting off
a huge project, and there will always be some people who find
what you're doing too difficult or
I want to crypt all my database.
I have in my scripts, a lot of mysql_querys, where I put and get data from
the database.
How can I insert crypt data in the database and then get the crypted data
from database and decrypt?
But I'd like to do some functions to do that. Because in case that I
cha
> I've tried unsuccesfully to print this header after the first header:
>
> header ("Content-Disposition: attachment; filename=\"WorkPlease.zip\"");
>
It works using:
header("Content-Disposition: filename=\"WorkPlease.zip\"");
I think my browser is a bit mad :)
the rrf http://www.w3.org/Prot
Hello, I can't understand the reason apache server running locally on my
Win98 machine delays so much to respond browser when accesing php
scripts in the form
http://localhost/myscript.php
When I transfer php scripts to host server via FTP, script execution is
immediate, even remote server being
Ok, after a few hours of messing here and there
I've got it to work. you can adjust for any number
of columns, and the pictures and it makes solid
tables.
Thanks, for all of the help
\n";
for ($x=1; $x<=$pictures; $x++)
{
echo "".$x."\n";
if ($x % $colum
John Monfort wrote:
> I was wondering, is anyone aware of a PHP server model, for Ultradev?
>
> Or, any leads on how I can create one?
>
> I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some
> of the Ultradev server model features (and convenience), but
> they only support A
Alright, count($x) would give me the number of array elements in $x. But how can I get
the count of a multi-dimensional array? Count($x[0]) doesn't seem to work. Thanks in
advance
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Teste
php-general Digest 26 Apr 2001 22:33:39 - Issue 651
Topics (messages 50443 through 50522):
how to get var value
50443 by: AJDIN BRANDIC
50451 by: Johannes Janson
50457 by: PHPBeginner.com
50460 by: AJDIN BRANDIC
form variables: back and forth
50444 b
Sigitas Paulavicius wrote:
> "Vishak K Tomy" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hello,
> > I tried to send mail through the mail function but it is not
> > working. I am using php version 3.0.12 under linux, following is the
> > code I used t
At 26.04.2001 22:38, you wrote:
>Hi,
>check you've got a D/B connection, then use this, with the appropriate names
>in the variables, or use the explicit table names if you wish. If an error
>spews up, most likely the table name your trying to rename it to already
>exists.
Or the table you're tr
Agreed:)
hehe
On Thu, 26 Apr 2001, B. van Ouwerkerk wrote:
> At 13:47 26-4-01 -0600, [EMAIL PROTECTED] wrote:
>
> >I said be prepared. Not that it would happen.
> >Considering the learning curve of linux..I think it is only fair to say
> >that mistakes are likely to happen, in particular for a
> If I wanted to use this utility to copy a file from a users (Windows)
> workstation to my (Linux) webserver, how would I do this? The program on
> the users workstation will create a file called "info.txt" and place it in
> c:\wow. I want it to go to my server upload.mydomain.com. How do I
I was trying the xpath expression like ancestor::* it always causes the
Segmentation error by PHP (both in Apache static moduel and stand-alone
executable).
But expressions like ancestor::para work fine. Only when I try to get all
the ancestors of the node PHP fails.
Does anyone has any idea?
Than
Hi!
I've done a program that send a zip file to browser. I read it on server
using fopen because I've it in a private area (I can't send it directly).
Now I send it to browser in this way:
header ("Content-type: application/x-zip-compressed");
$fd = fopen ($filename, "r");
$data = fread( $
Hello everyone,
I was wondering, is anyone aware of a PHP server model, for Ultradev?
Or, any leads on how I can create one?
I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some
of the Ultradev server model features (and convenience), but
they only support ASP/JSP/JScr
Hi!
can you tell me how can I check if a remote files exists?
I've tried with fopen, but I've a warning on STDOUT if file doesn't exists.
I wouldn't redirect the STDERR to solve this problem.
I could use fsockopen, but I feel that this is a bad solution.
Can you tell me something that is easy?
Hi,
check you've got a D/B connection, then use this, with the appropriate names
in the variables, or use the explicit table names if you wish. If an error
spews up, most likely the table name your trying to rename it to already
exists.
$sql = "RENAME TABLE $present_table_name TO $new_table_name
Thanks, Andrew.
The ODBC functions did the trick.
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Thu, 26 Apr 2001, A
Hi,
PHP has handling of MIME types and good support for handling any type of
file.
First off, check the syntax at
http://www.php.net/manual/en/function.mail.php
Then you need to set your mail_headers, and the MIME-version must come
before other MIME headers.
Hope this helps
- Original Mes
I am trying to add a Javascript in array but it gives me an error unless
certain characters are commented which makes sense, but then the Javascript
won't run. Any ideas here is what I am trying:
'left',
'text' => '
');
of course the ' characters are a
I'm a newbie and I'm trying to write a program to send an email. Here is
the kicker, I want to attach a Word document to the email. Could someone
please help. Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Greetings..
This is how I currently check for instances of words and other:
for ($i=0; $i < $total_lines; $i++){
$line_array = explode("|",$line[$i]);
$swhat=strtolower($txtLinkname);
$xos =
array(strtolower($line_array[1]),strtolower($line_array[2]),strtolower($line
_
ah, i got it...
ok, try this:
$length is arbitrary...
$x is your counter...
do the loop as before, but each time through the loop, $loopcount++;
So, if you do the loop 5 times, $loopcount == 5.
Then, at the end, $length - ($loopcount*$x) gives you the amount of 's to
echo. Put another for loo
Right, I understand that
if I use it is blank space
if I use it is an empty cell
right now $length is set at 42 (this is arbitrary)
and there needs to be two empty cells at the end of
the last row. if length is 41 I will need 3 and 40
will need 4. but if I don't know what the value of
$length
How can I alter a table name in mysql with php?
thanks,
Augusto cesar Castoldi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello,
I have a Java based, simple server running on an obscure port (not
HTTP/HTML) that I currently use for other things.
Could I cause PHP to send/receive simple text messages with that server?
This has nothing to do with the Web. I'd just like to be able to 'talk' to
that server with a PHP
Chris, I'm not sure what is supposed to happen, but what is happening for me
is that a HIDDEN field is added to my form with the sid as the value:
Kirk
> -Original Message-
> From: Boget, Chris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 26, 2001 3:09 PM
> To: Php (E-mail)
> Sub
Hi,
the way i would do it looks like this:
- setup stunnel (www.stunnel.org) to listen to port 10443 in the
127.0.0.1 interface and forward that to www.myprovider.com
- the php script would connect to 127.0.0.1:10443 using plain text
- that's it, easy and clean! :)
stunnel will hapilly forwar
If you have PHP compiled with --enable-trans-sid,
are the URLs that are part of the form's action supposed
to be modified to include the SID? So far that's not
been happening and I just want to verify that this is
expected behavior.
thnx,
Chris
At 13:47 26-4-01 -0600, [EMAIL PROTECTED] wrote:
>I said be prepared. Not that it would happen.
>Considering the learning curve of linux..I think it is only fair to say
>that mistakes are likely to happen, in particular for a newbie.
Sure.. It can happen.. to be honest.. you don't need to instal
ok, again, trying to understand "blank space"...but, try this:
if you print out you'll get something i think you're referring to as blank
space...
try using a nonbreaking space in there...either or a space in the code; this
will force
the "emptiness" to show up...
-jack
- Original Mess
Thanks, that worked with the removal
of the first if clause for part 2 of
my question, as far as part one, I will
try to explain better. if you view the
chunk of code in a browser you will get
a table with borders number 1-43 however
there will be a blank space at the end
where 44 & 45 would be. h
Thanks, that worked with the removal
of the first "
Jerry Lake- [EMAIL PROTECTED]
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sen
initialize a total variable to 0. every time you print out a price, $total
+= $currentprice.
at the end you'll have the total. am i misunderstanding you?
-jack
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 3:43 PM
To: [EMAIL PROTECTE
Are you looking for a list of the different addresses? If you move your
mouse over the "yes" you'll see the link to the various sections at
http://marc.theaimsgroup.com/, or you can go there, scroll to the bottom,
and look in the WWW section. They're all there.
-jack
-Original Message-
F
the learning curve is smaller than most people think...
if you are willing to learn, and refuse to be
intimidated by the reputation that has been built
up around linux, i doubt you'll have any
problems installing and running/using it
in a lot of ways, i think linux is probably a more
"natural" O
I'm a little unclear as to what you're trying to do, but here's my
interpretation:
problem 2: if it ends on a complete row...
solution: put the echoing of the first and last tr's inside your
conditional. When $x is initialized to 0, the if will return true, and you
will output the very first tr..
Where can I find a win32 version of the mcrypt module?
- Carsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
At 03:36 PM 4/26/2001, ..s.c.o.t.t.. [gts] wrote:
or better yet.as in #feed-the-goats on efnet :-)
christ - this is scary...people getting involved in things that they have
no clue about.
"i have built a rocket, but once i take off i can't figure how to land it
without breaking a few bone
I said be prepared. Not that it would happen.
Considering the learning curve of linux..I think it is only fair to say
that mistakes are likely to happen, in particular for a newbie.
On Wed, 25 Apr 2001, B. van Ouwerkerk wrote:
>
> >
> >Also if you are a newbie to linuxget a different machin
my advice would be to disconnect the box from
the internet until you understand how to properly
secure it.
please read the documentation and manuals
before your box gets raped and pillaged
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Subject: RE: [PHP] F
oh, I am such a bone head.. but the actual question was how to calculate the
totals.
i have a column on my form that says $qry["price"]*$qry["quantity"] which
gives me a column of totals but my question is how to total that up???
any ideas?
"David VanHorn" <[EMAIL PROTECTED]> wrote in message
Hello,
The page http://www.php.net/support.php talks about many mailing lists, but
I really can't find the specific email address of any of those lists. It
would be really helpful if the list addresses were on that page as well.
Does anyone know who this suggestion should be forwarded to?
Tha
At 08:31 PM 4/26/01 +0100, [EMAIL PROTECTED] wrote:
>hi all,
>
>i have a script which selects description, price and quantity from a mysql
>table.
>
>i have displayed the results on a page in the form of description, price,
>quantity but I was wondering how best to go about calculating a total tot
hi all,
i have a script which selects description, price and quantity from a mysql
table.
i have displayed the results on a page in the form of description, price,
quantity but I was wondering how best to go about calculating a total total,
ie. sum of quantitys multiplied by sum of prices.
Any
I've got some code that I am
creating that creates a table with
a loop. and it works fine for what
it is, but my question is how do I
compensate for rows that aren't divisible
by 5 ? i.e. the empty cells at the table.
additionally if it ends on a complete row
(divisible by 5) I end up with an add
It looks like that is working, but I'm not getting a response. I created
the XML string and set it as $xmlstring. Then, after the fputs that you
provided below (except with the URL I'm sending to) I have:
fputs($fp, "$xmlstring");
Then, to receive the response I enter:
$RetValue=fgets($w_socket
$fp = fsockopen("www.somewhere.com",4096);
here you have to check the syntax for POST and HTTPS but I THINK
(hoo-boy am I ever risking ridicule) it should look something like this:
fputs($fp, "POST https://www.somewhere.com/dir/app HTTPS/1.0\r\n\r\n",
$xmlstring);
then try the response..
I use:
$fp = fsockopen("www.somewhere.com",80);
fputs($fp, "GET http://www.somewhere.com/somedir/somepage.html
HTTP/1.0\r\n\r\n");
to parse. Should be easily modified
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From:
"Ben Quinn" <[EMAIL PROTECTED]> wrote:
> I am trying to copy an image from an external server and save it to my
own.
> I have the following script to do this for a txt file and it works great!
>
> ?>
>
> $page = "../temp/yep.txt";
>
> $date = date("http:/www.example.com/yep.txt");
>
> $cartFile =
Hello,
I'm building 4.0.4pl1 on RedHat 6.2 with all updates applied. It
configures OK and then when issue "make" i get:
[root@fenris php-4.0.4pl1]# make
Making all in Zend
make[1]: Entering directory `/home/curtis/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_
I am looking to process credit card transactions on my site. In order to do
this, I need to open a socket to a particular URL. I then submit an XML
string to them. They process the string and send me a response.
I am going to a certain (secure) location on the site of my credit card
processor
I am trying to pull info from an Exchange LDAP server to make a dynamically
created phonebook, and am having trouble with one field. I think the problem
is that the script I have has everything pulled in an array, and all but the
field I am having problems with are strings. The telephoneNumber wou
kaab kaoutar wrote:
> i mean i want to enable users to create their own sites in few
> minutes by choosing one model of the ones proposed, the colors,
> etc u know like these site builders sites? if not do u thnik
> there are specific tools i may use to fullfill these?
This may get you started o
you are inputting a real dot (.) into e_time
remove it:
"INSERT into events (e_title, e_details, start, end, s_time, e_time) values
('$title', '$details', '$s_year-$s_month-$s_day','$e_year-$e_month-$e_day',
'$stime_hour.$stime_minute', '$etime_hour$etime_minute')";
Sincerely,
Maxim Malets
1 - 100 of 145 matches
Mail list logo