We are running Tomcat and PHP under IIS on Windows 2k sp2. While we
were watching the memory manager we noticed that whenever PHP was
invoked Tomcat's memory increased by about 5mb. This was consistent
over about a half an hour, we have no reason to believe that it hasn't
been occuring like this
I'm trying to get Squirrel Mail running under Windows NT 5 running IIS 5
and I was wondering if someone might be able to give me a hand.
Specifically I'm getting a ton of "Warning: Cannot add header
information - headers already sent..." errors. I was wondering if there
is a setting (or setting
I was wondering if anyone knows of any sample scripts that utilize PHP's
support for LDAP. Specifically I'm going to be attempting to utilize
LDAP to access contact information from the Microsoft Exchange server.
It looks like LDAP is just the ticket for this. I was hoping to have a
few sample
I had a problem similar to this and it required that we update the
mssql.textsize and mssql.textlimit in the php.ini file.
Hope that helps,
ROn
dash php wrote:
>
> Just a thought:
>
> How long does that SQL query take? Have you tried setting the timeout period
> to be longer than 30 seconds?
I'm creating an associative array that creates keys and values for those
keys on the fly. Later I need to check and see if the array contains a
key before I call it to avoid the dreaded "Undefined Index" error. Is
it possible to see if a key exists in an associative array before I call
it? Ki
I'm looking for some really good tutorials on working with email and
PHP. I'm hoping for some serious industrial strength stuff. I would
even purchase a book or two if need be.
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to build a dynamic script that basically extracts all of the
fields in a MS SQL database...I just can't seem to figure out how to get
at the field names themselves. I am using the mssql_fetch_array
followed by the $row['field_name'] in an array. But I would like to
make the field_nam
I need to strip off quotes both single and double from form input. This
is what I have but it doesn't appear to be working:
str_replace("\"","",$string);
str_replace("\'","",$string);
Please help.
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Is there a command in PHP that can identify what datatype a variable
represents? Specifically I want to know if the variable is an Array.
Thanks
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a quick way to add all of the vars in the $_POST[] array to the
$HTTP_SESSION_VARS[]?
I suppose a loop would do the trick.
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone have any experience in working with CDO objects in PHP?
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a series of offices (11 at the present time). Each office has a
CITY STATE ZIPCODE and a MILEAGE. What I need to do is to sort them by
mileage which is dynamically calculated earlier in the script. I need
the offices to be stored in an array and sorted by the MILEAGE after
which I will
I was hoping someone could help me quickly. I did a quick scan of the
documentation but I couldn't find the answer.
How can I convert a month that appears as a string like "Jan" into the
numerical equivelent such as "12" without doing a huge if-then statement?
Thanks,
Ron
--
PHP Windows Mail
After checking the bios it seems to be truncating right around the 4092
character mark (including spaces). I checked the database and it does
in fact contain the entire bio (well over the 4092 character mark)...and
as a side note ASP returns the entire bio. It seems to be some type of
truncatio
Can anyone point me at a command or tutorial or sample script on how to
deal with the pesky special characters that occur when users copy and
paste Microsoft Word file generated text into a text area? All the
apostrophes, quotes and ellipses are converted into question marks when
they are parsed
Is there a limit to the amount of text a variable can hold?
I have a situation where I'm querying a SQL database for a Salesmans
Biography and then echoing the variable using the syntax "$row['bio]"
and for some reason the bios appear to be truncated on the larger bios.
I am not processing the
I'm trying to create a simple app that loops through Sundays displaying
the date until the current date is reached. I have the loop working
nicely but I'm unsure how to compare the result to the current date. I
put a mock loop together to get the basics working:
";
$dateCalc+=7;
}
This go
I am using a multi-select form list...how do I go about retrieving the
multiple values? My current script only pulls the first value using:
$_POST['multi_select'];
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying a trick I found on converting a report from generatated HTML
to an Excel spreadsheet. Apparently there is a bug in MSIE that
requires that I use the following syntax to pass a link in order for the
headers to pick up on the fact that it is an Excel Spreadsheet that I'm after.
First p
My CIO is impressed with what I have been accomplishing using PHP and is
considering updating a few of their aging ASP applications, but he needs
textual ammunition to present to the management committee to do so. So
I was wondering if anyone knows of any technical whitepapers on PHP
geared towa
I'm trying to write a stats program that queries a MSSQL database to
bring back a count of all items entered into the database for the
current week by day. I'm having trouble getting my mind around how to
write this seemingly simple concept.
I have the database and I know the field name but I'm
I have put together this script to read a row of data from SQL Server,
perform a calculation and write back the results. the read and
calculation are working but it doesn't write the data to SQL
Server...what am I doing wrong here?
CityStateZipLongitudeLatitudeLongitude
RadiansLatitude
Radians
> Does any one know a php script that send to my account unlimited money?
>
> --
>
> Best regards,
> George Nicolae
> IT Manager
> ___
> PaginiWeb.com - Professional Web Design
> www.PaginiWeb.com
>
> "R.S. Herhuth" <[EMAIL PROTECT
Does any one know of a php script to calculate the closest store to a
user entered zip code?
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to create a auto incrementing id field in SQL Server 2000.
What data type should I use and what settings?
Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to get the actual hostname of a users host such as AOL or
Mindspring by name? I tried the get it by using "gethostbyname" using
the "remoteaddr" of the user but all I get is the IP address, not the
host name.
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
I have looked at several stats gathering code blocks and they use
$HTTP_REFERER. When I use that I get and undefined variable error. I
also tried $HTTP_SERVER_VARS["HTTP_REFERER"] which gets me an undefined
index error. I also tried $HTTP_SERVER_VARS["REFERER"] which generates
the undefined in
How do I get a users IP address using either Javascript or PHP?
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I installed the latest version of php on a Windows NT box running IIS.
Everything is fine but when I elect to autoload the php_mssql.dll I get
a "Could not load php_mssql.dll ...Could not be found" error. I
quadruple checked the the path and that is fine. Several other of the
modules that are
I decided to setup IIS instead of Apache to match my clients environment
on both my home and work machine...now I have not been able to get php
working for anything. I have spent almost a week trying to configure
IIS to no avail. I'm locked in security permission hell.
My home machine:
Inter
Hi,
Has anyone on this list successfully accessed CDO using the COM support
in PHP version 4.2.1?
I would be greatful if they would share configuration tips.
I have tried running this script a thousand times with no success:
To = '[EMAIL PROTECTED]';
$message->From = '[EMAIL PROTECTED]';
$me
I'm really struggling trying to grasp the concept of reg ex rfeplacement.
I have been through the documentation and a few tutorials but I can't
find something that shows me exactly how to return a string that
contains nothing but alpha numeric characters, while stripping out all
other characters
I built a script that converts a Microsoft Word file to text and removes
common characters. The text will then be stored in a database for searching.
The script below has been behaving a bit odd. It worked this morning
but now all I get back is a blank screen and the text file it writes is
bla
I have a search and replace where the search for consists of 300 words.
Luckily this will only have to be done when a user uploads a file. The
file may contain several hundred words itself. My question is what is
the best way to approach searching for this many words? Should I use
an array a
This is my code:
CreateItem("olMailItem");
$a=$myItem->Recipients->Add("[EMAIL PROTECTED]");
$myItem->Subject="This is a test";
$myItem->Body="This is a Body Section now.!";
$myItem->Display();
$myItem->Send();
?>
This is the error I'm getting...
Warning: Invoke() failed: Type mis
Is there a way to include the text contained in Word Docs in a php based
search?
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am using the $PHP_SELF variable on a form page and while the page
works fine I'm getting an error:
Undefined variable PHP_SELF in...
This is very odd because it parses the link correctly and it works fine.
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
I have an instance where I have an article ($article) that may or may
not contain:
There might be many occurrances of this substring in exactly the same
format but the id's will be unique with each occurance.
Can someone please show me how to extract the id's (in this case the
102) of the abo
I have a situation where I will be pulling back an article that may
contain none or several references to link IDs in the following format:
The rest of the article is basically text in the format of a news
article. What I need to do is to extract the ID (the #226 in this
example) and run a que
Anders,
What you need to do is Zip him first and then insert him in the
automatic cup holder (it looks like a CD-Rom tray) you will then find
him on your C drive. You may then include him as an attachment.
Hope this helps,
RSH
"Svensson, B.A.T. (HKG)" wrote:
>
> Hi all!
>
> I tried this ques
> RTFM..;-)
>
> --
>
> Best regards,
> George Nicolae
> IT Manager
> ___
> PaginiWeb.com - Professional Web Design
> www.PaginiWeb.com
>
> "R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">
I have the Globals turned off and I'm trying to figure out which array
will alow me to access varibales passed in the URL:
Example:
next page
What array with the variable "testVar" show up in?
Thanks,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I know this has been discussed before but I'm having trouble finding
anything that outlines it.
I installed 4.2 and I want to use sessions with the "stock
configuration." I tried this but it doesn't work...what should I be
doing different?
Page 1 -
Page 2 -
thanks,
Ro
List,
I'm trying to write a script that only returns x number of results from
a query per page. I have all the logic in place that should do the
trick but the one problem I'm having is getting the SQL query to work
for me.
BTW I'm suing Microsoft SQL Server 2000, not My SQL. I know that MySQL
I'm having the problem of the quotes I have seen mentioned on this list
before but I forgot how to resolve it:
echo" http://www.mysite.com','market')'>test link";
how do I resolve the need for multiple occurances of the quotes so they
won't terminate each other?
Thanks,
Ron
--
PHP Windows
I have been trying to create strings dynamically by combining text and
variables. Because SQL wants single quotes surrounding the values I
have been forced to create the string as follows (all variables have
been previuosly set earlier on the page):
$query = "select bio FROM individual WHERE la
I have been trying to create strings dynamically by combining text and
variables. Because SQL wants single quotes surrounding the values I
have been forced to create the string as follows:
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just want to say that after two weeks of working with PHP I'm finally
getting it (thanks to this list and it's contributors!). PHP rocks!
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Newbie alert!
I am able to connect to a SQL Server Database on my local network by
specifying the host as "testHost" the database is "DB". My question is
if I'm outside the network what is the correct syntax that I need to
call in the host in order to access the database?
Thanks,
ROn
--
PHP
I am creating a few links on the fly that have to pass variables to the
next page:
echo 'next page'
The problem is that I don't want that information to appear in the
address field (more like a method=post instead of a method=get). How
can I do that?
I was trying to use sessions under W2k, ph
I setup the latest versions of Apache, and php. I would like to be able
to process a couple forms and email responses but I can't figure out how
to configure my system to do this. Do I need yet another application
to add this functionality? If so what am I looking for? Any advice?
Thanks,
Anyone know of any internet based tutorials on using stored procedures
with SQL Server?
Thanks,
ROn
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am interested in serving up my own domain from my home computer
running the latest release of Apache on Windows 2000. I have a domain
name already registered. Does anyone know where I can find instructions
on how to set up my domain name to point at my server?
Thanks,
ROn
--
PHP Windows Ma
I'm new to php and I'm trying hard to get a grasp on pulling data from
SQL Server.
I'm looking for an efficient method for making dynamic queries to SQL server.
Basically what I have created so far is a page that dynamically builds
all of the column names of a database. I have assigned each
I'm running the latest build of php and Apache under Windows 2000 pro.
I have been experimenting with sessions and I'm having a bit of trouble.
page 1
I create a session_start() above all of the HTML.
I have a 3 form element (a checkbox) with:
name="myVar" value="1",name="myVar" value="2",na
55 matches
Mail list logo