Thanks for the reply. Actually, I am using both mssql_free_query and
mssql_close along with mssql_pconnect. It still happens however. I can
post the code if you are unsure. Does it have a history of threading
issues as it only seems to happen when several requests are sent all at
once or a
I have this code:
$end_date = time();
$year = 2002;
$month = 4;
$monthi = $month + 1;
$time = SecondsInMonth($month, $year);
$time_i = SecondsInMonth($monthi, $year);
$query = "SELECT * FROM news WHERE date < $time_i AND date > $time
ORDER BY id";
$result = mysql_query($query);
$num_results
On Saturday 01 June 2002 06:20, Daniel Grace wrote:
> > > language would in many cases show PHP to be slower simply because it's
> > > looping code is slow? [...]
>
> It is typical usage, yes, but the conversation that gave me the idea to do
> the quick speed comparison was the idea that PHP can b
You still have to connect to a database every time a script is run,
whether it's loaded in a frame or run by itself. If you start a session
and save the username and password in it, then you can use that login
and password on every other page that you call session_start() on.
---John Holmes...
I am not certain how this helps me, since it appears the data is only
carried to pages called directly from where it is set. The page where the
user logs onto the database does not link to other pages. This is done from
the top frame of the form. The top frame of the inital page contains the
menu
Mark-
Trying it now, I think I understand what you doing with the code below.
I'll let you know.
Thank you!
-Scott
-Original Message-
From: Mark Heintz PHP Mailing Lists [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 4:43 PM
To: Scott
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re
Please cc me on replies. Thanks.
Anybody happen to have any leads to a Folio (4.1)
reader/parser/converter to something PHP integrates with?
folio2xml
folio2CSV
folio2sql
.
.
.
A client's client needs to be able to upload Folio files and have
them converted/integrated to the web.
They sent
On Saturday, June 1, 2002 at 2:42:40 AM, you wrote:
> Is there any way of caryying the login information from one web page to the
> next in global variables so that the username and password entered in the
> login screen is available to all other web pages in the site or do I have to
> ask the use
I do not know whether this is a question for this list, but if not perhaps
someone can tell me where to raise it.
I am designing a web site which has a number of pages. One of these
provides the facility for the user to log onto a mysql database. Other web
pages allow the user to query and upda
This "non form" is a posted response from a commercial server quoting the
results of various transactions as pretty much a basic text dump. Weird I
know, and it is their problem/fault, however, I'm still left having to work
with it until such a time as they fix it (4 weeks, who knows why!). Also,
So is it even a web page that's returned? Or is it more like a text
file?
Will getallheaders() help you at all?
www.php.net/getallheaders
---John Holmes...
> -Original Message-
> From: Simon Troup [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 8:23 PM
> To: [EMAIL PROTECTED]
>
Thanks Dan, but I don't think I'm explaining well.
Submitting that form will produce, from most browsers, a request that has in
one of it's headers:
content-type: x-www-form-urlencoded
... the variable $Foo will automatically be available within PHP for use in
any script that form is directed t
Does the file already exist? It's not enough to change the directory
permissions, you also have to change it on the file if it exists, and
all of the folders above it, so that apache can get to the file. In
order for PHP to open or create this file, the user that apache runs as
must have permissio
$array only contains one of the result rows, not all of them. At least
it's that way in your script. Try to register the variable before you
start assigning values to it and you'll have to add each row into an
array in order to save the entire result set.
---John Holmes...
> -Original Messag
> the bad thing about the BTW seciton is, is that it is not true inside of a
> function, that is the reason I refered to it as $GLOBALS['HTTP_REFERER']
That's not bad, it's a feature of PHP :) All variables
(even predefined variables) follow standard PHP variable
scope rules (except supergloba
I dont know too much about cache control, but some of the users who use
my script,
has problems with cookies. They are able to log in and the cookie is
set and they click a link and get booted out.
This past week, we noticed that when we commented out
header ("Expires: Mon, 26 Jul 1997 05:00:0
Ok, I have added apache_response_headers() which returns the current set
of headers that Apache either knows about at this point (before the
headers are sent) or the set of sent headers once they have actually gone
out. This will be in 4.3
-Rasmus
On Sat, 1 Jun 2002, Noor Dawod wrote:
> Ok, I
Ok, I understand about the request headers.
While searching the archives, I've seen many requests from many people
asking similar questions. You even answered some. The thing is that
while there's a function to get request headers (getallheaders() or the
$HTTP_ vars), there's no function to list
You can loop through $GLOBALS and check for vars that start with "HTTP_",
but yes, you typically know which things you are interested in.
And no, $HTTP_* are only the request headers. For the Apache module
version there is of course also getallheaders()
-Rasmus
On Sat, 1 Jun 2002, Noor Dawod w
Hi All,
I´m trying to register into a session an array which has returned from a
mysql_fetch_array function. But when I call $array it returns empty or something like
this.
Do you know how can I do this operation?
Regards!
Here go my scripts:
">
while ($array = mysql_fetch_array($result))
{
And how do I KNOW which $HTTP_ variables are being set?
Also, does $HTTP_ACCEPT_LANGUAGE mean that "Accept-Language" command has
been sent by the browser?
In my Windows configuration, using CGI version for example, I don't see
also the headers sent by the server...
Noor
-Original Message---
> I need to find out, at any point in a PHP script, which headers and what
> content (HTML or other) have been sent already. I know I can use output
> buffering, but in my case, this is not going to work.
You really have no way of knowing since it is the web server that decides
which http headers
Hello,
On 05/31/2002 06:36 PM, Daniel Grace wrote:
> The results:
>
> [dewin@ulysses profiling]$ time ./prime.php > /dev/null
>
> real0m14.465s
> user0m8.610s
> sys 0m0.070s
>
> [dewin@ulysses profiling]$ time ./prime.pl > /dev/null
>
> real0m5.302s
> user0m3.180s
> sys
Hello,
I need to find out, at any point in a PHP script, which headers and what
content (HTML or other) have been sent already. I know I can use output
buffering, but in my case, this is not going to work.
By the way, I know that PHP's phpinfo() function lists headers received
and headers sent,
I agree that in most cases it makes more sence at seing the webpages per
second benchmark rather then a timing of some artibtrary benchmarks that for
example seeing how long it take to pick prime numbers. Since in the end it
matters how quickly you can get the data to the user, in case of perl
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Sure, you could put it that way. When benchmarking something you really
> should benchmark stuff that you actually care about. Benchmark PHP
> spewing out a web page after making a couple of SQL
Sure, you could put it that way. When benchmarking something you really
should benchmark stuff that you actually care about. Benchmark PHP
spewing out a web page after making a couple of SQL queries, for example.
That's typical usage, so that is what you should benchmark. Very few PHP
scripts a
Does this mean that running a comparison benchmarks between PHP and any other
language would in many cases show PHP to be slower simply because it's
looping code is slow? Unless, timing is done on a speed of PHP being able to
spew out webpages via the webserver with a webserver benchmark tool s
It's moved to the sapi directory in the most recent release instead of
the experimental directory.
Michael Davey wrote:
> It is called php4apache2.dll
>
> Mikey
>
> "Herman Pool" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>>Hi all,
>>
>>I have downlo
Not very surprising. Perl's looping code has always ben faster than
PHP's. Highly iterative loops is really not what PHP is geared for. You
are not going to write a Mandelbrot algorithm in PHP. You write it in C
and drop in a super-quick extension into PHP and call mandelbrot().
-Rasmus
On F
I made an "oops!" when I wrote:
>
> prime.pl:
> #!/usr/bin/perl
> # print "2\n";
> my $num;
> for ($num = 3; $num < 1; $num+=2)
> {
> my $prime = 1;
> for $check ( 2 .. int($num/2) )
> {
> if ($num % $check == 0)
> {
>
This all started in a little debate between me and a friend of mine who I
think is as much a PERL zealot as I am a PHP zealot (I was briefly pondering
the idea of a Win32 API extension for PHP), and the results were rather
surprising -- to me, at least..
It all started when I asked him what PERL
I wouldn't use header() in this case, unless you plan to create an ungodly
looking URL to pass with it.. All you really need to do is point the form
to a PHP script that validates the information. Then at the end of that
script either include() the form hander if it's valid, or print an error
me
What are the benefits of trusting any id provided by the user, when
creating a new session? Why should we allow users to create their own
session id, and maybe pass them around? Or being driven to some session
faked/created by someone else?
Can we control that a new session id has been effectivel
> Looks like you're using fopen() incorrectly. Try:
> fopen("$file_name","r+");
How about just
fopen($file_name, "r+");
instead. No need for the surrounding "s.
--
JR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 01 June 2002 04:34, Jas wrote:
> Ok, I have been working on this for awhile and cannot seem to get the
> fwrite function to work. Here is the code:
> \\ index.php
> $file_name = 'blank.php';
> $open_file = fopen("$file_name","rw");
Looks like you're using fopen() incorrectly. Try:
you will have to do this with javascript on the client side with an
onClick() call in the submit button. but the bad thing is, you wont be
able to check this with the mysql db, unless you load the entire field set
into the current page.
my suggestion would be to send the form to one single page
You may have been heading in the right direction originally with
array_slice... This is off the top of my head, I don't guaruntee it will
work...
$start = 34;
$interval = 15;
$max = 303;
// hop across orig. array 15 columns at a time
for($offset = $start;
$offset < $max && isset($array[$offs
Ok, I have been working on this for awhile and cannot seem to get the fwrite
function to work. Here is the code:
\\ index.php
This works as I need it to, opens the file and then removes the first < so
that it won't be parsed as a php script.
\\ edit_passwords.php
I have read and writ
If Michael Sweeney is right that you can run PHP in a JS method that would
work. I just do all of my "instant gratification" stuff in JS. I guess it
depends on what is in the PHP function that he wants to run - it's possible
that he could do it in JS.
-Nat
-Original Message-
From: Jim
Is it possible that the PHP session features will accept as new any id
not generated by the webserver itself?
And where's the utility of that? Isn't it an enormous hole?
Gian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ooops, incorrect scripts. Let's try again:
--script1.php--
// for loop as in Zachery's example
--script2.php--
// modified for loop
That's much better. ;-)
Peter Brett
- ---
peter:AT:peter-b:DOT:co:DOT
but that would take you off the current page wouldn't it? or would you
return false?
Jim Lucas
- Original Message -
From: "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]>
To: "'Jim lucas'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: "Dave Shacket" <[EMAIL PROTECTED]>
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
That's what I mean by starring at this too much :) I tried writting to a
seperate file, but is there a way to take an array and split it every so
many records within another loop?
Let's say the first row contains the first 18 columns which I already
parsed, I then want to grab the next 5 15
JavaScript could do a similar thing with onClick.
-Natalie
-Original Message-
From: Jim lucas [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 4:21 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Dave Shacket
Subject: Re: [PHP] Run php function with user click
use flash to open a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In the for loop initialisation try changing:
$i <= count($res)
to:
$i < count($res)
Reason: The usual thing that causes that sort of error is an
incorrect iteration condition that causes the loop to run forever and
so make an infinitely la
Oops ... never mind. I answered my own question. I had made a
typo that was causing the problem.
External programs ARE run as setuid from PHP/Apache.
> -Original Message-
> From: Jonathan Rosenberg [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 4:27 PM
> To: [EMAIL PROTECTED]
the bad thing about the BTW seciton is, is that it is not true inside of a
function, that is the reason I refered to it as $GLOBALS['HTTP_REFERER']
Jim lucas
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Jim lucas" <[EMAIL PROTECTED]>
Cc: "Kris Vose" <[EMAIL PROTECTED
use flash to open a tunnel to the server and run a script, therefor it
never has to leave the current page. ::)
Jim Lucas
- Original Message -
From: "Michael Sweeney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Dave Shacket" <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 10:36 AM
S
>From my testing, it seems that PHP (or is it Apache) ignores the
setuid bit when executing an external program (e.g., via
passthru). is this correct? if so, is there some way to
override this, so that the program will run setuid?
--
JR
--
PHP General Mailing List (http://www.php.net/)
To un
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...
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To un
You should normalise your data - have a field in the second csv that links
to the first csv and then you can have as many rows as you want associated
with the record in the first file.
Mikey
"Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a csv
Hi all. I am trying to install the php4 module for apache 1.3.24 on HPUX 11.00
I have sucessfully compiled apache 1.3.24, mysql 4.01, and php4, but when I try to
integrate the php4 module in with apache, I am getting nailed every time..
I did the configure --activate-module=src/modules/php4/libp
Hi,
I've tried the PHP4 built-in sessions, and both with and without the
default setting off
session.use_trans_sid
php.ini, I see that you can force anyone into a session if you point to
a URL like
http://myhost/a_page.php?PHPSESSID=blackhole
even if his cookie are enabled.
Wasn't that supposed
I am having a hard time getting apache to load the php4 module. Can I still use PHP
for my web stuff...?
Thanks
Taylor Lewick
Unix System Administrator
Fortis Benefits
816 881 6073
"Help Wanted. Seeking Telepath..."
"You Know where to apply."
and don't do something like
insert into (col1, col2) values ('1', '2');
to oracle. this is deadly if you do
insert into (col1, col2) values ('3', 4');
afterwards, oracle will not know this query.
it'll have to parse it again, because you used
literals. you have to use bindvars, if it is possib
This
> Read does not block read.
> read does not block write.
> write does not block read.
> write blocks write on the same column.
should read:
Oracle has a row locking mechanism, so
the following blocking mechanisms apply, when two
or more oracle sessions want to operate on the same row:
read do
For anyone who was having this problem, here's the solution. It's a
windows-level bug. Even HTML files weren't opening.
In Windows Explorer, go to either View/Tools (depending on version) and get
to Folder Options. Go into File Types, and change the URL:HTTP (spelled
out) to have "open" and po
On Fri, 31 May 2002, Michael Geier wrote:
> my arc runs from 180 deg. to 360/0 degree, or left to right, pointing
> upwards (upside down U).
> i guess I am not getting my head around the numbers...is there anywhere on
> the net that has a good thorough description about a process like this?
http:
I have a csv file that I am parsing, formatting and then writting to a new
file. I am currently using an array, but I have some lines that might
contain more data than others. I know for sure that columns 0-33 will
always be there, but the customer has the option to add another set of
column
Simon:
' . $_POST['Foo'] . '';
}
?>
Viewing that the first time will show the form. Submitting the form
will show you the form again and then the value of Foo.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution |
Start doing some research and testing. Can PHP and MySQL do that? Sure. Are
there better solutions? Sure. Too many factors go into decisions like this
that's it not a simple email question and answer.
For one, MySQL only supports transactions if you use InnoDB tables. How
reliable are they? I don
I just did a google search on .gov & php and got back a ton of hits. dot,
dod, census, anl and many many others.
Jerry
On Fri, 31 May 2002, John Christopher wrote:
>
> I would like to use PHP in a project for a United States
> Government client. The client is skeptical because PHP
> is not a
Given enough hardware and an appropriately designed application, yes you
will be able to scale up as high as you want to go. The big questions are
how much money can you spend vs. what performance, stability and fault
tolerance do you want out?
You have lots of options -
Three or four large smp
[snip]
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
So does anyone have any advice on adding files rather than strings?
On Fri, 31 May 2002, Michael Davey wrote:
> I have been looking through the documentation for using Bzip2 or zlib
> compression and have a couple of questions for the group...
>
> 1. Which is best to use on terms of: resultan
actually:
If the php directive register_globals is on, then
$HTTP_REFERER will exist. Otherwise it will not.
(or course that assumes a value exists at all).
Regardless of the register_globals setting, you
can do:
// Works since PHP 3 (forever)*
print $HTTP_SERVER_VARS['HTTP_REFERER'];
Did I mention I hate math [grin]...
ok...so here we go so far...
I am passing a variable diameter of the arc ($d),
the total number of widgets possible ($n),
and the number of current widgets ($x)
so let's say $d = 100
$n = 100
$x = 50
$perc =
ip2long and long2ip and a bit of bitwise logic is really all you need.
-Rasmus
On Fri, 31 May 2002, Chris Knipe wrote:
> Hi all,
>
> anyone know of any good pre-written classes or functions to work with IP
> address space?
>
> I'm looking for things which can verify correct notation of IP addre
On Fri, 31 May 2002, Dave Shacket 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?
javascript onclick or whatever can call a PHP program on yo
My shift key isn't stuck. I don't know what's wrong. I found out that one
other person had a problem with it at my company and apparently one of the
techies put it on MS's technet group. Hopefully something will come of it.
Thanks for your help!
-Natalie
-Original Message-
From: Jai
On Fri, 31 May 2002, Michael Davey wrote:
> I have been looking through the documentation for using Bzip2 or zlib
> compression and have a couple of questions for the group...
>
> 1. Which is best to use on terms of: resultant file size, availability
> of decompression clients & ease of use?
Fi
Natalie,
I'm using Outlook XP here and the link opens just fine. The only
time I get that "locate link browser" window is if I hold the shift-key
down when clicking on the link. (I typically link to open links in new
windows, so I hold the shift-key when clicking links - It will open the
link
On Fri, 31 May 2002, Justin Felker wrote:
> I have spent the last hour pouring over this list's archive.
(Not a flame, but I keep seeing this recently. The word is "poring".)
> I, along with several other people am starting a business which will depend
> heavily on its web presence. Unfortunat
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
Here is a piece of code, that is close to doing what I want it to.
The end result I would like to have is an array that is simple to work with.
If the XML tag was RED HAT, I would like something
like the following:
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue
On Fri, 31 May 2002, John Christopher wrote:
> I would like to use PHP in a project for a United States
> Government client. The client is skeptical because PHP
> is not a Microsoft product. I'm looking for statistics and
> links that show that PHP *is* currently in use by the
> US Government.
>
depending on what version of php you are running, you can use
$GLOBALS['HTTP_REFERER'] or on newer versions you can use
$_SERVER['HTTP_REFERER']
Jim Lucas
- Original Message -
From: "Kris Vose" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 9:19 AM
Subject: [PHP] d
I just tried to open the PHP link about the Navy. I'm running IE6 (freshly
installed today, so no tweaks have been made) with Win2000. When I clicked
on the link in the email, a "locate link" window came up (similar to an open
file window). This does not happen on my coworker's machine. The on
Hi all,
anyone know of any good pre-written classes or functions to work with IP
address space?
I'm looking for things which can verify correct notation of IP addresses
(fine, that's easy enough), but also verify things like network addresses,
broadcast addresses, and work out subnet masks when
U.S. Naval Research Laboratory's Intranet relies on PHP
http://www.zend.com/zend/cs/csnavalready.php
On Fri, 31 May 2002, John Christopher wrote:
>
> I would like to use PHP in a project for a United States
> Government client. The client is skeptical because PHP
> is not a Microsoft product.
$_SERVER['HTTP_REFERRER']
"Kris Vose" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a variable/function in php that will display the url location of
the hyper-link that brought them to the current page. Thanks in advance.
>
> Kris Vose
>
--
PHP
Good day,
I don't have a piece of code off the top of my head, but you'll get lots of
results and examples if you enter those variables into www.php.net 's search
field and search the online documentation (which is very, very good, I
should add).
Hope that helps.
Da
Good day,
Wow, a high school math question.
You should use asin() and acos() of the angle to get the y and x
differentials, respectively. Multiply the result by the size of the needle.
This assumes that your guage is oriented horizontally, and the needle sweeps
from right to left, pointing upw
Another similar way, using an array (very simple to
add tasks):
$tasks = array('ShowVersion','GetData','CreateImage');
if (@in_array($_REQUEST['Task'], $tasks)) {
// add some error checking here (function_exists())
$$Task();
} else {
// maybe run a default task here
On Friday, May 31, 2002, 5:17:49 PM, you wrote:
> Can you send the code that is failing to the list - it will help in working
> out the problem...
And include your platform details (OS, PHP version, etc).
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
The first example was a mistake. The second is a correct example.
I just wasn't sure on the proper format $this->that->foo($bar), if it is
technically correct...
Thanks
Michael Davey wrote:
>I believe so - but why are you passing a the object a reference to itself?
>
>
>
>>$bar->db_obj->run
Is there a variable/function in php that will display the url location of the
hyper-link that brought them to the current page. Thanks in advance.
Kris Vose
Can you send the code that is failing to the list - it will help in working
out the problem...
Mikey
"FréDéRick St-Hilaire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It a BASIC question,
>
> With the following:
>
> ENCTYPE="multipart/form-data">
>
I believe so - but why are you passing a the object a reference to itself?
> $bar->db_obj->run_some_code($bar);
> $bar->tpl_obj->do_this_for_me($bar);
If you need to access parts of the object from within, use the $this->
pointer.
> It works but was wondering if its 'legal' to use it like this
It a BASIC question,
With the following:
Name :
With the job_action.php I want to display the resaults to the user.
But the variable name is empty.
What's the problem?
Thanks
Frédérick St-Hilaire
--
PHP General Mailing List (http://www.php.net/)
To unsub
Hiya,
were you using the appropriate free_query & close functions to free up the
memory & more importantly the socket used to talk to the sql server?
You might want to try using the _pconnect function if it's available instead
of the usual _connect statement.
I'd guess that PHP ran out of socket
Im still green with writing with class, but I just want to check with
you all.
I started creating a class file that also using 2 other classes.
class.php
---
db_obj = &new abc($db);
require_once('./that.class.php');
$this->tpl_obj = &new xwy;
I have been looking through the documentation for using Bzip2 or zlib
compression and have a couple of questions for the group...
1.Which is best to use on terms of: resultant file size, availability of
decompression clients & ease of use?
2.Both bzip & zlib documentation makes use of *w
Last night, I ran into a problem when using the MS SQL support in PHP under
Apache/PHP module/MS SQL 2000. Everything worked well enough. I was able
to connect to the server, query data, and a number of other
things. However, I found that if I ran my test page (it connects to,
queries and d
Hello to everyone. This email will probably be quite lengthy so please
bear with me. What I am asking is quite important to me, so I will try to
be as detailed as possible.
I have spent the last hour pouring over this list's archive. I have found
some great information and a lot of you appe
How do you fetch posted form variables from a request that does not have
content type in the headers? I mean, instead of having Content-Type:
x-www-form-urlencoded or something similar, there is nothing - just the raw
data. How can I parse that?
Regards
SImon
--
PHP General Mailing List (http
I believe you will need to use sin and cos to do this...
I experimented with drawing circles in javascript (sorry, it's not PHP but
you can see the concept) and ended up with this:
for (j = 0; j <= 360; j += (360 / 10))
{
// x1 & y1 are offset values
var s = x
I am doing that - sorry, should have given you a bit more code...
conn = mysql_connect ($host, $user, $pwd)
or die ("Unable to connect to database");
$sel = mysql_select_db ($db, $this->conn);
if (!$sel) die ("Unable to select database");
return true;
}
1 - 100 of 150 matches
Mail list logo