| passing JVM options when using php Java extension? |
|
 |
Index ‹ php-general
|
- Previous
- 2
- MI5 Persecution: Surveillance methods 5/8/95 (5452)From: Pamela Willoughby <email***@***.com>
Newsgroups: uk.misc
Date: Sat, 05 Aug 1995 18:08:32 GMT
Organization: Myorganisation
Lines: 15
Message-ID: <email***@***.com>
>Hmmm, strange eh.
>I mentioned all this goings on to my boyfriend, who works for the
>British intelligence service, and he assures me this sort of thing
>never goes on.. not ever...honest.
>Though he said the name was familiar...
it does go on, although it's an open question who does it.
Some time ago there were press reports of an Army intelligence person
called Jones who claimed Diana and Hewitt had been photographed in a
compromising position... he said he'd been doing this as part of an
Army unit which had previously operated in Northern Ireland.
Then Hewitt said he'd been told the same thing by some Army people,
and that they were threatening to release the tapes unless they
curtailed their liaison... as per usual everyone denied everything,
painted Jones as the "Jones twins" - not very original in how
they deal with their perceived enemies, are they?
You have to wonder how they manage to achieve this sort of
surveillance though. Audio you can understand, it's possible to put
a microphone through the wall, and apparently there exist devices
which will retrieve sound from a laser beam bounced off a window -
sounds sci-fi, but there's a well known surveillance electronics
company in London which sells these things.
But how would you get video out of a room, unless you had actual
physical access in order to plant a device for pickup? We're not
talking about looking in from afar, but an actual device within
the room. You could either drill through the wall and shove a
pickup through; or you could supply a trojan device with a hidden
pickup inside; but most likely, you would have to physically break
into your target room to plant a camera. That's not an infeasible
option; all it means is having your target(s) watched to make sure
they're not in the vicinity, then you negotiate any locks on the
property and find a suitable receptacle for your device.
The next question is how they defeat the usual methods of counter-
surveillance. We had private detectives carry out a "sweep" of
every room and the telephone line. They found nothing. That
indicates at least four possibilities that I can think of;
(this is all guesswork BTW, and probably fanciful guesswork
at that!)
1) no bugs (pull the other one)
2) radio-transmitting devices which can be controlled from an
external source, ie you can instruct them to switch off
when you detect a counter-surveillance sweep taking place
3) hard-wired devices; probe microphones or whatever they're
called, things you poke through the wall
4) passive surveillance devices; so you bounce laser or
radio waves off a suitable reflecting surface (again,
sounds far-fetched but such things may apparently exist).
5) there is a fifth possibility, that the PI's didn't detect
an actual transmitting device; there are technologies
specifically designed to avoid detection, eg frequency hopping
and suchlike. But how much sophistication could you build in
to a device which would have to be small enough to be
physically concealable?
I guess the real question is to find out who is ultimately
behind these "goings on". And if the "great and good" (or
the better known, at any rate) can't protect themselves,
what hope is there for the rest of us?
5452
--
Posted via a free Usenet account from http://www.teranews.com
- 3
- Installation at SiteI have created a site which uses PHP, Apache and MySQL. (Win32)
This all runs fine on my test machine. My boss likes it and now, a day
before I depart on my long and well deserved holiday, he mentioned that
while I am away, he needs an installer to give to a client to install on
their machine!
And installer that installs Apache, MySql, PHP, configures usersm sets up
the database, configures PHP and Apache and mySql ... all in one easy
'double click the setup' way?
Now, I don't think that is very possible? Especially all the configurations.
Surely I'd nee to be at the site and do the installation manually? I mean,
they don't have anyone experienced with MySql, PHP OR Apache at the site.
Any comments? Am I right in saying this ?
Craig
- 6
- Is PHP the answer?Hi, I'm new to this group and I have a broad question concerning Coldfusion.
The department at the university that I have just started working for uses
Coldfusion w/ an Access database for all their content. They are wondering if
they should stick with this model for updating content on their website or
try something different. One of the techies mentioned something Open Source,
like Nuke/Php.
For all of you developers, how do you feel about PHP/Nuke, pros and cons?
Thank you.
S
- 6
- Email error messageHello, I'm getting this message trying to send mail from a form I'm
sending over the browser using the mail() function:
WARNING: RunAsUser for MSP ignored, check group ids (egid=0, want=51)
Does anyone know what this is telling me?
- 7
- Looking for some directionWhat im looking to do (and i have tried with no success)
user goes to web page
page opens up with 2 boxes
Box1 = Emailaddress
Box2 = drop down menu yes/no
that i have working great
what i need to do is when they hit submit
open up a file right now it sits /lists/white
add the line
From: (results from box1) (results from box2)
save file close
Thanks
- 8
- replace table w/ div tag. how?anyone know how can I replace this code using only the div tag? I have
tried everything but I can't do it.
here's the code using table:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<table width="799" align="center" style="border:1px solid #999999">
<tr>
<td><div id="sidebar" style="border:1px solid #999999; width:
160px; float:left">
<h2>sidebar</h2>
<ul id="nav">
<li><a href="#">Test Link One</a></li>
<li><a href="#">Test Link Two</a></li>
<li><a href="#">Test Link Three</a></li>
<li><a href="#">Test Link Four</a></li>
<li><a href="#">Test Link Five</a></li>
</ul>
<p>Additional sidebar content.</p></div>
<div id="maincontent" style="border:1px solid #999999; margin:0 0 0
2px; float:left">
<h2>main content</h2>
<p>Testing</p>
</div></td>
</tr>
</table>
</body>
</html>
thanks for any help
- 8
- Truncation on PHP query?I have the code below. It builds an INSERT command, and it gets run on the
database. Everything works fine except the database is only receiving the
first 6 characters of the phone number.
The field in the database can hold 10 digits (confirmed). The echo
statement shows that the phone number is indeed 10 characters long.
The second echo statement show the $query looks similar too:
INSERT INTO students Values ('', '1', 'SomeFirstname', 'SomeLastName',
'License', 'email***@***.com', ' 6135315960', ' ', ' ', ' ')
When I run this query in mySQL when logged onto the terminal, the phone
number appears fine.
How could truncation be happening?
if (isset($_POST["firstName"]))
{
$query = "INSERT INTO students Values ('', '1', '" . $_POST["firstName"] .
"', '
" . $_POST["lastName"] . "', '
" . $_POST["licenseNumber"] . "', '
" . $_POST["eMail"] . "', '
" . $_POST["phone"] . "', '
" . $_POST["city"] . "', '
" . $_POST["address"] . "', '
" . $_POST["birthDate"] . "')";
echo "Phone number is: " . $_POST["phone"] . "<br><br>";
echo "The query statement is: " . $query . "<br>";
$result = mysql_query($query) or die("Adding the student to the database
failed: " . mysql_error());
}
<Ade
--
Adrian Parker. Ordained priest. <email***@***.com>
"A society that views graphic violence as entertainment ...should not be
surprised when senseless violence shatters the dreams of it's youngest and
brightest..." - Ensign (March 2004)
- 9
- SOAP: xsd:choice maxOccurs=unbounded, and element orderHi,
I'm trying to make PHP5's soap implementation play nice with my web
service, and I'm having a problem.
Part of my schema contains a complexType, containing an xsd:choice of
several different element types, which can be repeated many times
(maxOccurs=unbounded)
e.g.:
<xsd:complexType name='containertype'>
<xsd:sequence>
<xsd:choice maxOccurs='unbounded'>
<xsd:element name='e1' type='e1type'>
<xsd:element name='e2' type='e2type'>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
The problem is that the order of element here is important. I want the
results returned in the same order that they appear in the XML.
Unfortunately, what I end up with, is an object containing an array of
all the e1 elements, followed by an array of all the e2 elements.
Take the following example... If there following were in my soap result:
<container>
<e1>some_stuff</e1>
<e2>different_stuff</e2>
<e1>some_other_stuff</e1>
<e2>different_other_stuff</e2>
</container>
What I actually end up seeing is something like:
[container] => stdClass Object
(
[e1] Array
(
[0] => some_stuff
[1] => some_other_stuff
)
[e2] Array
(
[0] => different_stuff
[1] => different_other_stuff
)
}
Note that this is somewhat simplified from my real-world example. In
reality, "e1" and "e2" are complexTypes themselves.
But I really do need to see the resulting elements in the same order
that they were supplied. I'm able to do this in dotnet and gsoap
clients, so far. (I haven't tried any others.)
Incidentally, I'm using a basic unmodified skeleton generated by
wsdl2php as my classmap. The object describing the 'container' type
looks simply like:
class container {
}
Perhaps it's possible to add something to this to help sort the order out??
Any suggestions are appreciated. Could this be a bug?
Incidentally, the full-blown (and rather complicated I'm afraid)
schema/wsdl for what I'm *actually* trying to do is at
http://www.widgit.com/cml/symgate.wsdl if that helps.
Thanks,
Simon
--
Simon Detheridge
SEN Developer, Widgit Software
CONFIDENTIALITY NOTICE:
This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system.
Logotron is a limited company registered in England, number 04113866. The registered office is Logotron Ltd, 124 Cambridge Science Park, Milton Road, Cambridge, CB4 0ZS.
- 13
- Get number of line with errorHi all.
I want ask you it exist some way how to get number of line in script
producing error.
for example:
...
...
100 $sql_connection=mysql_connect( ....)
101 or die ( my_error_report_function ( $line_with_error ) );
...
...
Command at line 100 can produce error. And i need call some function by
die()
and put number of this line as function parameter. It's for sending mails
with error reports at web site.
Thanx for any idea
Emo
- 13
- searching a Large MySql databaseI am in the process of building a large MySql database. It is going to
require large amount of searching for strings in multiple columns.
I am curious about the relative speed of the different search and
datatypes within MySql 4.0.14b. I don't think an index will help in this
particular situation but if anyone thinks otherwise please explain.
The dev server will have dual processors (2.8ghz) and RAID drives. Are
there any pitfalls in the whole process. Are there any easy tricks to
speed the search up
--
Jeffery Elkington
http://members.iinet.net.au/~westjim/
Standing in the sunlight Howling at the Moon
- 14
- 16
- Mysql: next and previousDoes exist a next prev function in PHP/Mysql. I've a website with returns
lot of records (say about 200). The user may browse trough the list or
returned records, but he has to click the record result then click back's
browser in order to see the next record. I'd like to provide a "see next"
and "see previous" record in the details itself. How to do so ?
Bob
- 16
- How to deal with errors nicelyI have a rather substantial PHP program (20K+ lines) which is the front end
to a MySQL database. Inevitably, there will sometimes be errors, for
example, bad SQL syntax or files not found. Whenever such an error occurs,
a function, DisplayError, is called. DisplayError may be called before,
during or after I have started generating HTML for the current web page.
What I would like to happen is that the current page generation is
interrupted and a page showing the error, some debug info and so on is
displayed instead. Is there a well-known method or template to follow in
coding this sort of thing (for example, should I be using output buffering)?
Nigel
- 16
- move_uploaded_file not workI have no problem running move_uploaded_file function on my local system.
But unsuccessful when running it from my hosted site. Is there a security
setting that controls he behavior of this function?
Many thanks.
Allen Guan
- 16
- getaddrinfo failed in fsockopen()Hi,
I am having problems while executing this simple
php script:
<?
$fp = fsockopen ("www.example.com", 80, $errno, $errstr, 30);
if (!$fp)
{
echo "$errstr ($errno)<br>\n";
}
else
{
fputs ($fp, "GET / HTTP/1.0\r\nHost: www.example.com\r\n\r\n");
while (!feof($fp))
{
echo fgets ($fp,128);
}
fclose ($fp);
}
?>
The error message is:
-----------
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name
does not resolv to supplied parameters; neither nodename nor servname were
passed. in /imports/home/gbien/ait/manrod/public_html/prueba_fsockopen.php
on line 2
Warning: fsockopen(): unable to connect to www.example.com:80 in
/imports/home/gbien/ait/manrod/public_html/prueba_fsockopen.php on line 2
Not owner (1)<br>
--------------
but DNS on the server is running. PHP version is 4.3.4, running on dec
alpha with True64 Unix V5.1 and configure options:
/configure' '--prefix=/usr/local/packages/php-4.3.4'
'--exec-prefix=/usr/local/packages/php-4.3.4/alpha-dec-osf5.1'
'--with-config-file-path'
'--with-apxs=/usr/local/packages/apache_1.3.29/alpha-dec-osf5.1/bin/apxs'
'--enable-force-cgi-redirect' '--enable-track-vars' '--with-gettext'
'--with-openssl' '--with-zlib' '--with-bz2' '--with-jpeg-dir'
'--with-tiff-dir' '--with-png-dir' '--with-xpm-dir' '--with-pgsql'
'--with-mm'
The same script executed in a Sparc server with Solaris 2.7, and the same
php version and configuration (but without postgresql support) gives no
errors...
Any help would be greatly appreciated. Thanks.
Manuel
|
| Author |
Message |
Roberts

|
Posted: 2005-2-4 1:29:30 |
Top |
php-general, passing JVM options when using php Java extension?
Hi,
I managed to get the Java extension working on php 4.3.10 after following
various bits of advice from
http://www.thelinuxpimp.com/main/modules.php?op=modload&name=News&file=article&sid=419
and http://uk.php.net/java
I have some Java code which runs fine from Java at the command line when
specifying certain JVM options -Xmx and -Xms. I am now calling this class
from php but can't see any way of pasing the arguments to the JVM created
from the php process. Is there something in the jre or php.ini that I can
edit to force these options, or is it hidden somewhere in the java extension
source?
Any suggestions appreciated.
TIA,
S.
|
| |
|
| |
 |
Roberts

|
Posted: 2005-2-4 17:21:00 |
Top |
php-general >> passing JVM options when using php Java extension?
Hi,
I managed to get the Java extension working on php 4.3.10 after following
various bits of advice from
http://www.thelinuxpimp.com/main/modules.php?op=modload&name=News&file=article&sid=419
and http://uk.php.net/java
I have some Java code which runs fine from Java at the command line when
specifying certain JVM options -Xmx and -Xms. I am now calling this class
from php but can't see any way of pasing the arguments to the JVM created
from the php process. Is there something in the jre or php.ini that I can
edit to force these options, or is it hidden somewhere in the java extension
source?
Any suggestions appreciated.
TIA,
S.
|
| |
|
| |
 |
Roberts

|
Posted: 2005-2-5 23:49:00 |
Top |
php-general >> passing JVM options when using php Java extension?
"Roberts" <email***@***.com> wrote in message
news:email***@***.com...
> Hi,
> I managed to get the Java extension working on php 4.3.10 after following
> various bits of advice from
> http://www.thelinuxpimp.com/main/modules.php?op=modload&name=News&file=article&sid=419
> and http://uk.php.net/java
>
> I have some Java code which runs fine from Java at the command line when
> specifying certain JVM options -Xmx and -Xms. I am now calling this class
> from php but can't see any way of pasing the arguments to the JVM created
> from the php process. Is there something in the jre or php.ini that I can
> edit to force these options, or is it hidden somewhere in the java
> extension source?
In case anybody else comes across this problem, I solved it using
addJVMOption() in ext/java/java.c and recompiling the extension, not
forgetting to copy across the new java.so file to /usr/local/lib/php.
S.
|
| |
|
| |
 |
| |
 |
Index ‹ php-general |
- Next
- 1
- [PHP] Apache 2 + PHPHi there,
when I had Gentoo Linux, I was using Apache 2.0.48 with PHP 4.3.4 installed
from Gentoo portage. It was running <10 smallscale php/mysql based
virtualhosts without any difficulties.
On Friday 05 December 2003 15:24, Yves Arsenault wrote:
> Is this warning outdated?
> http://www.php.net/manual/en/install.apache2.php
> "Do not use Apache 2.0 and PHP in a production environment neither on Unix
> nor on Windows."
> I'm running RedHat 9.
>
> I've got Apache 2.0.48 running and was ready to install the latest php
> 4.3.x..
> Just thought I would check.
--
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: =@= email***@***.com
:.:
:.: "When you want something, all the universe
:.: conspires in helping you to achieve it."
:.: - The Alchemist (Paulo Coelho)
- 2
- #38949 [NEW]: Cannot get xmlns value attributeFrom: superruzafa at gmail dot com
Operating system: Windows XP
PHP version: 5.1.6
PHP Bug Type: DOM XML related
Bug description: Cannot get xmlns value attribute
Description:
------------
Surely this is not a bug, because is too obvious, Perhaps is a fault of
W3C spec.
I have a xml file, and I try to parse to get xmlns's attributes.
Simplely:
[test.xml]
<?xml version="1.0" encoding="utf-8" ?>
<root xmlns="http://ns" xmlns:ns2="http://ns2">
<ns2:child />
</root>
Reproduce code:
---------------
$xml=new DOMDocument();
$xml->load("test.xml");
echo $xml->documentElement->getAttribute("xmlns");
Expected result:
----------------
"http://ns"
Actual result:
--------------
""
--
Edit bug report at http://bugs.php.net/?id=38949&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38949&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38949&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38949&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38949&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38949&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38949&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38949&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38949&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38949&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38949&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38949&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38949&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38949&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38949&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38949&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38949&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38949&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38949&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38949&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38949&r=mysqlcfg
- 3
- [PHP-INSTALL] RE: SALE 89% OFF [Incident:080602-001861]
Response
---------------------------------------------------------------
********** This is an automated reply to your message to Email Abuse. **********
Your message has been delivered to our email abuse department. This department handles complaints from users that are receiving unwanted email. We try our best to investigate all reports of abuse. If we determine that the email you reported was in fact sent from an email address at one of our domains, or by way of computers operated by us, we will take the appropriate action.
If you did not include the original "message headers" along with your message, please do so by replying to this message, leaving the subject line intact (which contains our tracking identification), and including all email headers. Email headers show specific details regarding the source provider, path, originating program, and destination of the message which is not shown within the TO: and FROM: address fields of the email.
Unfortunately, "spammers" use a variety of techniques to mask an email's actual point of origin, such as by forging information to make it appear as though the email originated from a domain that is well recognized across the Internet. Accordingly, the information in the header is very helpful in assisting us in our investigation.
We regret any inconvenience this may have caused and appreciate you bringing this matter to our attention.
Regards,
The Email Abuse Department
Discussion Thread
---------------------------------------------------------------
Customer ( php) - 06/02/2008 07:03 AM
Windows
Live Hotmail
Hotmail Inbox Changes you'll appreciate as a loyal Hotmail user
Let's hear it for a clean, customizable design! The results? Less clutter on the page and the ability to choose your own color theme. Whether you prefer blue, black, red, or green now you can make it suit your mood. Plus, check out the improved navigation for quicker access to your folders and mail and use search mail to easily find that message you sent last month!
Find out what else has changed (http://cimail15.jusq.com/Key=5289.DgYJ.C.C.Hlqzpy)
Manage your spam
Thanks to color codes (yellow and red) on incoming messages, you'll be alerted to suspicious e-mail. Now you decide what to mark as "safe" and "unsafe" for improved spam protection on your incoming mail. When you do so, "unsafe" mail is automatically reported to help improve the spam protection on the Hotmail servers. Good news: this can help you receive less spam over time!
Manage your spamhere's how (http://cimail15.ycmy.org/Key=5289.DgYJ.D.C.HzpRwb) Spam
Inbox It's your inbox, so choose *your* view
You choose the way you want to see and use your e-mail:
Choose classic version if you want a fast, simple way to read and manage your e-mail. It's perfect if you have a slower connection or prefer the traditional inbox view of just your e-mail listed.
Use full version if you're on a broadband connection to get access to more features like address auto-complete, reading pane, and drag-and-drop. If you're a Microsoft Office Outlook user, you'll feel right at home.
Learn more about classic and full version (http://cimail15.kdg.com/Key=5289.DgYJ.F.C.HqpJkn)
-----
Microsoft respects your privacy. To learn more, please read our online Privacy Statement (http://cimail15.tpm.com/Key=5289.DgYJ.G.C.Htf6gp) .
Microsoft Corporation, One Microsoft Way, Redmond, WA 98052
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
td.header { }
td.text { padding-left: 4px; padding-right: 4px; }
td.label { }
td.data { }
</style>
<title>[PHP-INSTALL] RE: SALE 89% OFF</title>
</head>
<body>
<table cellpadding="2" cellspacing="0" border="0" width="100%">
<tr><td></td></tr>
<tr><td> </td></tr>
<tr><td class="header" colspan="2" bgcolor="#e0e0e0"><b> Response</b></td></tr>
<tr><td class="text" colspan="2">
<p><font face="Arial, Helvetica" size="2">********** This is an automated reply to your message to Email Abuse. **********</font></p>
<p><font face="Arial, Helvetica" size="2">Your message has been delivered to our email abuse department. This department handles complaints from users that are receiving unwanted email. We try our best to investigate all reports of abuse. If we determine that the email you reported was in fact sent from an email address at one of our domains, or by way of computers operated by us, we will take the appropriate action.</font></p>
<p><font face="Arial, Helvetica" size="2">If you did not include the original "message headers" along with your message, please do so by replying to this message, leaving the subject line intact (which contains our tracking identification), and including all email headers. Email headers show specific details regarding the source provider, path, originating program, and destination of the message which is not shown within the TO: and FROM: address fields of the email.</font></p>
<p><font face="Arial, Helvetica" size="2">Unfortunately, "spammers" use a variety of techniques to mask an email's actual point of origin, such as by forging information to make it appear as though the email originated from a domain that is well recognized across the Internet. Accordingly, the information in the header is very helpful in assisting us in our investigation.</font></p>
<p><font face="Arial, Helvetica" size="2">We regret any inconvenience this may have caused and appreciate you bringing this matter to our attention.</font></p>
<p><font face="Arial, Helvetica" size="2">Regards,</font></p>
<p><font face="Arial, Helvetica" size="2">The Email Abuse Department</font></p><br />
</td></tr>
<tr><td class="header" colspan="2" bgcolor="#E0E0E0"><b> Discussion Thread</b></td></tr>
<tr><td class="text" bgcolor="#A0C4DE"><b> Customer ( php)</b></td><td class="text" bgcolor="#A0C4DE" align="right">06/02/2008 07:03 AM</td></tr>
<tr><td class="text" colspan="2">Windows<br/> Live Hotmail <br/> <br/> Hotmail Inbox Changes you'll appreciate as a loyal Hotmail user <br/> Let's hear it for a clean, customizable design! The results? Less clutter on the page and the ability to choose your own color theme. Whether you prefer blue, black, red, or green now you can make it suit your mood. Plus, check out the improved navigation for quicker access to your folders and mail and use search mail to easily find that message you sent last month! <br/> Find out what else has changed (<a href="http://cimail15.jusq.com/Key=5289.DgYJ.C.C.Hlqzpy)" target="_blank">http://cimail15.jusq.com/Key=5289.DgYJ.C.C.Hlqzpy)</a> <br/> <br/> Manage your spam <br/>
Thanks to color codes (yellow and red) on incoming messages, you'll be alerted to suspicious e-mail. Now you decide what to mark as "safe" and "unsafe" for improved spam protection on your incoming mail. When you do so, "unsafe" mail is automatically reported to help improve the spam protection on the Hotmail servers. Good news: this can help you receive less spam over time!<br/> <br/> Manage your spamhere's how (<a href="http://cimail15.ycmy.org/Key=5289.DgYJ.D.C.HzpRwb)" target="_blank">http://cimail15.ycmy.org/Key=5289.DgYJ.D.C.HzpRwb)</a> Spam <br/> <br/> Inbox It's your inbox, so choose *your* view <br/> You choose the way you want to see and use your e-mail: <br/> <br/> Choose classic version if you want a fast, simple way to
read and manage your e-mail. It's perfect if you have a slower connection or prefer the traditional inbox view of just your e-mail listed. <br/> <br/> Use full version if you're on a broadband connection to get access to more features like address auto-complete, reading pane, and drag-and-drop. If you're a Microsoft Office Outlook user, you'll feel right at home.<br/> <br/> Learn more about classic and full version (<a href="http://cimail15.kdg.com/Key=5289.DgYJ.F.C.HqpJkn)" target="_blank">http://cimail15.kdg.com/Key=5289.DgYJ.F.C.HqpJkn)</a> <br/> ----- <br/> Microsoft respects your privacy. To learn more, please read our online Privacy Statement (<a href="http://cimail15.tpm.com/Key=5289.DgYJ.G.C.Htf6gp)"
target="_blank">http://cimail15.tpm.com/Key=5289.DgYJ.G.C.Htf6gp)</a> . <br/> <br/> Microsoft Corporation, One Microsoft Way, Redmond, WA 98052</td></tr>
<tr><td colspan="2"> </td></tr>
<tr><td> </td></tr>
</table>
</body>
</html>
- 4
- php "date()" functionWhen I used the "date("nj")" function to generate an invoice, about 1
out of 500 times, nothing comes up
<?php
$invoicedate = date("nj");
?>
<html><head></head><body>
Invoice date:
<?php
print $invoicedate;
?>
</body></html>
So, when I noticed some invoices were missing dates, I tried this:
<?php
$invoicedate = date("nj");
?>
<html><head></head><body>
Invoice date:
<?php
if (!invoicedate) {
$invoicedate = date("nj");
}
print $invoicedate;
?>
</body></html>
But, still, 1 out of 500 times, no date prints to browser.
My question is: On some web-servers, does the date() function not always
work? If not, then why not?
- 5
- "configure a computer" class/script?Hello,
I'm looking for a script/class that helps you setup rules and dynamically
configure products (like a computer). This is kinda the "Dell.com" style of
computer shopping.
I've found the following:
http://www.esvon.com/pg/products/p_config/
http://www.x-cart.com/product_configurator.html
Both of these things might do what I need, I just want to make sure I'm not
missing the boat with any other scripts I should review.
Any help is appreciated
--B
- 6
- Zip & unzip using system callsI want to know how to do a system call inside a php code that zip
& another code to unzip files .... :ph34r: help me plz
----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums
- 7
- Problem with sessions on Demon shared hostingI have a problem with session variables when running a site on Demon
Thus shared hosting.
I use sessions to retain data between several pages. When moving
between pages, sometimes the session variables are available sometimes
they are blank. I have made sure that I use session_write_close();
before redirecting pages, to ensure that the session data gets written
before the new page is loaded and checked that I start the session in
each page that uses it.
I have tried this sit on our own dedicated server and it works fine, so
there must be something about the Demon account that is screwing things
up, but I can't figure it out. Any advise would be greatly
appreciated.
The only thing I can see that is dfferent in the settings is
session.bug_compat_42.
Demon server:
SunOS ....demon.net 5.9 Generic_118558-06 sun4u
running Zeus 4.2 on Linux
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
Our Dedicated Server:
FreeBSD .....dedicated.turbodns.co.uk 4.10-STABLE FreeBSD 4.10-STABLE
#4: Tue Apr i386
PHP 4.3.11 Apache
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
- 8
- Inserting and reading data fom MySQL thru php pageHi!
Well, i think you know what im going to ask :-))
I have MySql db with some products ( with pictures and description ) and i
want to make update and show of each picture.
Example:
picture + description + id
I can pull all this infos out from db but i have problem with updating each
of this products and refreshing the db to read new values in db..
Is there some tutorial on this ( online updating and uploading thru browser
form )?
Thx
- 9
- 1 Form, 2 Actions?I have a lengthy form (i.e., many inputs) on my form.php page. What's
different about this form than many others I've created is that I want
the user to have a choice of submitting this form data to one of two
pages, choice1.php or choice2.php, both of which read $_POST data from
the form.
Obviously, a 'submit' button will send the user to the page specified by
the form's 'action=' setting, so I would have to employ some sort of
trick. But this is where I'm drawing a blank! What combination of PHP,
Javascript, and HTML would do the trick?
Thanks!
Mark
- 10
- beginner: cut text after " "
Hello All,
I have a very simple question:
Want to remove the string after the first whitespace like:
"here is a text what i have"
to:
"here"
Thanks !!
Andras Kende
- 11
- saving data from a form into a seperate .html fileI wrote this script here but I cannot get the script to save to the
correct month.html. Can someone tell me what is wrong with this code?
<html>
<head>
<title>Monthly Bills</title>
</head>
<body>
<center><font size="4">Total Monthly Bills</font>
<form action="billcalculation.php" method="POST">
<br>
<select name="months">
<option value="January" name="month">January</option>
<option value="February" name="month">February</option>
<option value="March" name="month">March</option>
<option value="April" name="month">April</option>
<option value="May" name="month">May</option>
<option value="June" name="month">June</option>
<option value="July" name="month">July</option>
<option value="August" name="month">August</option>
<option value="September" name="month">September</option>
<option value="October" name="month">October</option>
<option value="November" name="month">November</option>
<option value="December" name="month">December</option>
</select><br><br>
<table border="0">
<td>Rent:</td><td><input type="text" name="apartment_rent"
size="5"></td><tr>
<td>Water & Sewage</td><td><input type="text" name="water_sewage"
size="5"></td><tr>
<td>Cell Phone:</td><td><input type="text" name="cell_phone"
size="5"></td><tr>
<td>Cable & Internet:</td><td><input type="text" name="cable_internet"
size="5"></td><tr>
<td><center><input type="submit" name="submit"
action="submit"></center></td><td><input type="reset" name="reset"
action="reset"></td></table>
</center></form>
<center><font size="4">Monthly Bills for 2005-2006</font><br><br>
<?php
$fp = fopen("$_POST['month'] . ".html","a+");
$output = print "TEST";
$apartment_rent = $_POST['apartment_rent'];
$water_sewage = $_POST['water_sewage'];
$cell_phone = $_POST['cell_phone'];
$cable_internet = $_POST['cable_internet'];
$total_monthly_bill = $apartment_rent + $water_sewage + $cell_phone +
$cable_internet;
print "Bills for <b>{$_POST['months']}</b><br>";
print "Apartment rent: $apartment_rent <br>";
print "Water and sewage: $water_sewage <br>";
print "Verizon cell phone bill: $cell_phone <br>";
print "Time Warner cable bill: $cable_internet <br>";
print "Total monthly payment: $total_monthly_bill <br>";
?>
</body>
</html>
- 12
- Class variable declarations: public/private/protected<?php
class myClass
{
var $myVar;
.
.
}
?>
In php.ini I have error_reporting = E_ALL | E_STRICT
The above code is causing the following error/notification in my Apache
logs:-
"PHP Strict Standards: var: Deprecated. Please use the
public/private/protected modifiers."
Searching in the most current .chm help finds very little, indeed the
class definition examples still use var.
I understand the reason for the warning, what I don't have is a scope
definition for public, private and protected nor an explicit definition
of how to use the modifiers.
Any help on the above would be appreciated.
Steve.
--
PHP 5.0.4 Apache 2.0.54 Win2K/SP4
If you must reply by email, remove the DOT's first...
- 13
- jpgraph imagehow do I place a jpgraph image from one php file into another..?
is it something like:
<img src="name.jpg" border=0 align =center width=300 height= 200>
because that doesn't make much sense in that its a .php file....
!ShroomS
- 14
- [PHP] PHP LDAP query - need to add Exchange fieldsBen Crothers wrote:
> At the moment it works fine and extracts fields like first- and surname,
> title, department, etc. I need to add the 'office' field, and added it at
> the end of this filter line:
>
> ---------------------------------------------------
>
> $filter =
> "(|(sn=$search[$i]*)(givenname=$search[$i]*)(title=$search[$i]*)(department=
> $search[$i]*)(office=$search[$i]*))";
>
> ----------------------------------------------------
>
> ...but so far it's not working. I *know* there's data in the 'office'
> field -- any ideas as to what I'm missing?
Not all of the fields in Exchange are exposed through LDAP (this is from
experience, I have no reference to back this up but would appreciate it
if someone else has any info on the LDAP implementation in Excahnge
5.5+). I would guess from your question that 'office' is one of the
fields that is not.
--
Stuart
- 15
- An endless loopThis is a continuation of a previous thread:"Displaying text with
include file." This is the PHP include file.
I have about googled myself out on this one. If I have found what it is
I seek , I don't recognize it.
==========#
<?php
$data = file("outing.1.php");
foreach ($data as $line) {
$line = explode("_", $line);
print $line['0'];
}
?>
============#
This code does exactly as expected. It prints to the screen the first
element of the array.
The array is of unknown length. I need to print to the screen all
elements. I have been able to do this with: for loops, while loops, do
loops, and some if statements, the problem is stopping when it reached
an empty element.
Even if I chose an arbitrary number to stop at, it would print the
elements and the balance in error lines.
Anybody have suggestions on how to stop the endless loop?
TIA
Dave
|
|
|