tedd wrote:
At 1:19 PM -0600 3/27/06, Jay Blanchard wrote:
[snip]
Where do I type in which php?
[/snip]
At the command line on the host.
Aarrrg -- no disrespect meant.
I'm totally and absolutely clueless and frustrated. It must be my age
because I haven't seen a command line since
Another point to consider, is that Tedds method of renumbering the rows,
*may* not preserve the original sequence. I have not checked the mysql
source, but if some delete activity has occurred in the table, then
there will be holes in the data, in some circumstances, inserting
further records to
Stuart Felenstein wrote:
I haven't try this yet but wondering if it's possible.
Can I do something like this:
select fieldone from table ;
$myvar = $fieldone ?
And more so could I do it with a where clause ?
i.e. select fieldone from table where fieldone = 3
$myvar = $fieldone ?
This is
Brent Clements wrote:
I've always wondered this about OOP and maybe you guys can answer this question.
I'm writing a php application and I'm trying to figure out the correct way to
right the oop part of this application.
for instance.
I have a project.class file that has functions for dealing
Dusty Bin wrote:
snip
/snip
foreach($container-getProjects as $project) {
snip
/snip
Sorry about the typo, of course it should read:
foreach($container-getProjects() as $project) {
Dusty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian V Bonini wrote:
On Thu, 2004-11-04 at 12:47, Vail, Warren wrote:
If you can figure out how to make sense of this, you might be able to find
the point that a system is connected to the internet, by tracing back to a
visitors current IP address.
Which may get you close but either way would
Thanks Christian(or chregu),
and thanks for the pointer to trang. I've not met that tool before.
Best regards. . . Dusty
Christian Stocker wrote:
snip
/snip
Aren't you missing any namespace declaration in your Schema File?
Yes I was - duh!!
snip
/snip
--
PHP General Mailing List
I am trying to validate an XML document, using
DomDocument::schemaValidate() as in the following code:
?php
$txt =EOT
?xml version=1.0?
Article xmlns='http://www.example.com/xml'
ItemItemText/Item
/Article
EOT;
$dom = new DOMDocument();
$dom-loadXML($txt);
if ($dom-schemaValidate(Article.xsd))
I have a requirement to create an XML file which looks approximately like:
?xml version=1.0 ?
?xml-stylesheet type='text/xsl' href='article.xsl' ?
article
itemItem Text/item
...
/article
The file needs to be formatted.
I built a dom using the Dom extension, creating a document, adding
nodes,
Christian Stocker wrote:
snip
/snip
Use $dom-createProcessingInstruction($target, $data) ;
and then append this to the document.
that could maybe work
see
http://ch.php.net/manual/en/function.dom-domdocument-createprocessinginstruction.php
for more details.
Thank you Christian, the following code
Aidal,
presumably, your server had the write to copy the file, otherwise the
copy would have failed. Is the only problem that you don't have the
correct permissions on the copied file?? if so check out
http://www.php.net/manual/en/function.umask.php. If you set the umask
before you copy,
Aidal,
I assume that you are using your server to copy the file, and since the
copy apparently suceeds, your server must have read access to the source
file. Check out
http://www.php.net/manual/en/function.umask.php. If you set the
correct umask prior to your copy, your copied file should
Aidal,
since you are using the server to copy the file, and the copy succeeds,
the server obviously has at least read access to the source.
You just can't get the permissions right. Check out:
http://www.php.net/manual/en/function.umask.php. If you have access
to your server or another *nix
13 matches
Mail list logo