RE: [PHP] if php is so great, why is it so hard to make it work?

2001-01-16 Thread Rob
You can get problems when you install and run IIS AND Apache at the same time... I think the last message was clear enough??? -Oorspronkelijk bericht- Van: Serge Montmarquette [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 16 januari 2001 19:14 Aan: [EMAIL PROTECTED] Onderwerp: [PHP] if

Re: [PHP] DOM API Namespaces - help?

2008-01-24 Thread Rob
/2000/xmlns/', 'xi'); var_dump($attr); Rob Nathan Per Jessen wrote: Nathan Rixham wrote: but assuming the above file is: ?xml version=1.0 ? chapter xmlns:xi=http://www.w3.org/2001/XInclude; a / /chapter how would one retrieve xmlns:xi=http://www.w3.org/2001/XInclude; When you say

Re: [PHP] DOM API Namespaces - help?

2008-01-24 Thread Rob
Hi Nathan, Nathan Rixham wrote: Cheers Rob, But this is the problem, I don't know what the namespace/prefix is! ie xi and the following doesn't work: $root-getAttributeNS('http://www.w3.org/2000/xmlns/', '*'); further xmlns is ?not? a prefix so this won't work either.. $root-lookupPrefix

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-21 Thread Rob
Colin Guthrie wrote: snip / I know I definitely want to do XSLT stuff and for that I need to use DomDocument (I'm sure there are other ways but this works fine for me so far!). Fairly unknown tidbit: you can pass SimpleXML objects to the XSL extension. XSL will use the document from it.

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-21 Thread Rob
Colin Guthrie wrote: Rob wrote: if ($xml instanceof SimpleXMLElement) { /* No copying, just use the existing XML tree directly */ $node = dom_import_simplexml($xml); return $node-ownerDocument; } Yeah I had that initially too but that did not produce a DOMDocument Object

[PHP] Re: Proposal of DOM boolean property: DOMDocument::omitXMLDeclaration

2007-10-22 Thread Rob
Freyjkell wrote: (bool) DOMDocument::omitXMLDeclaration; Does not need a comment. Implemented in XSLT. // I sent this post to php.xml.dev, but I didn't get reply for long time. parser option LIBXML_NOXMLDECL or if no DTD just save the root element. Rob -- PHP General Mailing List (http

[PHP] Re: Proposal of DOM non-standard method: DOMDocument::loadCharacterEntitiesFromDtd($path)

2007-10-22 Thread Rob
as it is parsed. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DOM Question. No pun intended.

2006-09-14 Thread Rob
[EMAIL PROTECTED] wrote: Satyam, I don't see any innerHTML or outerHTML in relation to PHP DOM. I'm familiar with them from a Javascript standpoint, but no references when it comes to PHP DOM. Regards, Mike Now that you have the element, why not just call: $doc-saveXML($node); Rob

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-15 Thread Rob
How are you getting that output? Remember most of the functionality - other than the saveXML(), saveHTML() functions - output using UTF-8 (which you would need to convert to what ever encoding you need). Rob Leonidas Safran wrote: Hello all, Again a question on the new DOM functions

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-15 Thread Rob
; charset=UTF-8/ If you add the content to a dom node, you do not change the encoding since the functions all work on UTF-8. The document to which the content is being added however, must be set to use the desired encoding. I am assuming you are doing what I previously explained though. Rob Leonidas

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-17 Thread Rob
)...? Do you have your code somewhere? Another thing I realized that I failed to mention before is that using saveXML($element) will serialize the full element, but outputs it in UTF-8 encoding. Have you tried converting the output of that to the encoding of the original HTML page? Rob -- PHP

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-17 Thread Rob
Leonidas Safran wrote: Hello Rob, Do you have your code somewhere? Yes, I paste it below. There are two files, one for HTML output (which I make invisible with style declaration display:none; and the second file is a javascript function which is supposed to output the content... Try

Re: [PHP] DOMDocument-saveXML()

2006-09-18 Thread Rob
of providing an indication of the encoding) It would be really nice if you could also specify a string value -- the name of the root node. Why? documentElement property works just fine and is much more flexible. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Prevent XSS using DOM Extension and/or SimpleXML

2006-11-14 Thread Rob
); } } } } $root = $dom-documentElement; checkElement($root); Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: DOMElement::setAttribute() manual example question

2006-03-03 Thread Rob
tries to be neutral here regarding the syntax used. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: DOMElement::setAttribute() manual example question

2006-03-03 Thread Rob
WHY your next example is working... Every example so far has called appendChild(). The only difference has been when at which point it is called to append the element and how the element to append has been created. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: DOMElement::setAttribute() manual example question

2006-03-05 Thread Rob
document, but this syntax allows the DOM classes to be extended in PHP. Once the node is associated with a document, you then have full editing capabilities. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: create xml root-element with xmlns and xsd link (using DOM)

2006-03-06 Thread Rob
in DOM. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP4, domxml and xpath with Namespaces

2006-03-06 Thread Rob
-com:office:spreadsheet); $nodeset = xpath_eval($xpath,ss:[EMAIL PROTECTED]:Name='Sheet1']); both the element and attribute are within the same namespace so the namespace and prefix are registered once and the prefix is used to identify both in the xpath expression. Rob -- PHP General Mailing List (http

[PHP] Re: PHP DOM XHTML - let me set my own javascript from code

2005-10-19 Thread Rob
Petr Smith wrote: but it encloses it to CDATA section automatically like this: script type=text/javascript language=Javascript![CDATA[alert('ddd');]]/script but I need it like this (because otherwise the javascript don't work): script type=text/javascript language=Javascript //![CDATA[

[PHP] Re: DOM namespace prefix troubles

2005-11-02 Thread Rob
'); $child = $dom-createElementNS('urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0', 'cac:Note'); $root-appendChild($child); Hope that helps. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] How to build a XML DTD on the fly?

2005-11-18 Thread Rob
version to work). Can always use xml:id attributes for that purpose for now though. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to build a XML DTD on the fly?

2005-11-18 Thread Rob
Jared Williams wrote: setAttributeNS('http://www.w3.org/XML/1998/namespace', 'id', 'abc') doesn’t work either, getElementById() still fails. It does work as long as you are using libxml2-2.6.22 Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: DomDocument::GetElementById - a workaround with external DTD

2005-11-19 Thread Rob
which is why it doesn't validate. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php5 SOAP WSDL parsing

2006-01-09 Thread Rob
definitions have to come after a sequence. See the symbol element definition in cml.xsd The symset attribute must be defined after the sequence. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP5, Soap, WSDL, and unbounded xsd:choice types.

2006-01-10 Thread Rob
the portion of the response you need manually. You also need to be sure that the server is always going to send those elements in the exact order you are expecting. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie query

2003-07-06 Thread rob
on 7/7/03 2:31 AM, Burhan Khalid at [EMAIL PROTECTED] wrote: dear list My server runs requires that if I want to write to file that I place my php script in the cgi-bin and it treats it as a cgi script. I am new to this and cannot get it to work. Would anyone know of a tutorial I could use to get

[PHP] PHP 4.2.1 vs. 4.2.3

2003-02-21 Thread Rob
the stuff in the php docs about installing PHP on Solaris and I followed the instructions faithfully) I would also appreciate that. Thanks --- Rob ** Rob Cherry mailto:[EMAIL PROTECTED] +27 21 447 7440 Jam Warehouse RSA Smart Business Innovation http://www.jamwarehouse.com

[PHP] php crashes iplanet

2003-02-19 Thread Rob
--- Rob ** Rob Cherry mailto:[EMAIL PROTECTED] +27 21 447 7440 Jam Warehouse RSA Smart Business Innovation http://www.jamwarehouse.com ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Max Array Size in Post?

2003-03-19 Thread Rob
I have a database driven music web site that allows the admin to create photo galleries. The photos and captions are entered using a form which allows the admin to upload a small and large photo. The number of photos is requested in a form that calls this entry form. The code looks like this:

[PHP] PHP from behind a proxy-server ??

2002-10-16 Thread Rob
the net groups and noticed that i'm not the first one to run into this problem ; but could not find any answers ... anybody here knows how to use 'file' thru a proxy ? Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP session won't die!

2003-11-08 Thread rob
and completely kill this session is OR if you know where I should post this question, I would be forever in debt! Thanks for your time. Rob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include_once() isnt!

2004-02-03 Thread Rob
Ive programmed with C/C++ for years and have recently started to dabble in PHP. Ive written a multi-part script for a friend and Ive run into a problem. Ive got 14 include files 3 of which are basic components that may or may not be used by other components. One is an authorisation class, another

[PHP] Beginner Question

2004-04-08 Thread rob
I am a newcomer to PHP and I am looking for an intsallation package similar to to FoxPro for MAC OSX 10.2.(Ie intsall appache, MY SQL and Latest version of PHP) Does anyone know where I may find one? Thanks RB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Beginner Question-Solution-packages

2004-04-09 Thread rob
On 10/4/04 1:37 AM, jon roig [EMAIL PROTECTED] wrote: Thank you for your help! Php and mysql ship on MAC OSX servers but not on on the normal machines. Apple provides support for these two at http://developer.apple.com/internet/opensource/osdb.html for help on MySQL on MAC OSX including step by

[PHP] Sending secure mail

2007-02-04 Thread Rob
the connection so I can get to and rcpt to: line and beyond? Thanks, Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SimpleXML libxml options (XInclude)

2007-02-28 Thread Rob
($xml_file, 0, true); $dom = dom_import_simplexml($xml); $dom-ownerDocument-xinclude(); print_r($xml); Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stream_read function for registered wrapper class.

2012-09-19 Thread Rob
? Thanks for any help. -- Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stream_read function for registered wrapper class.

2012-09-19 Thread Rob
Sorry, I just realized my replies were going to email instead of the news group. I'm going to try upgrading to php 5.4 so I have access to this: http://php.net/manual/en/function.stream-set-chunk-size.php And see if that fixes some of my problems. Thanks for the suggestions. -- PHP General

[PHP] Re: stream_read function for registered wrapper class.

2012-09-19 Thread Rob
issues with stream wrappers. -- Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP v4.0.4pl1 breaks phpMyAdmin

2001-01-30 Thread Rob McMillin
Is anyone else having this problem? phpMyAdmin running under RedHat 6.1 with PHP v4.0.4pl1 makes all kinds of noise about missing tables in the database. It appears as though this may be caused by bug 8966. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] HTML character escape codes from beyond

2001-03-13 Thread Rob Salmond
that might lead me in the right direction? Much thanks, Rob Salmond. -- 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]

[PHP] escape characters

2002-04-03 Thread Rob Packer
In the following statement, can someone tell me what I would need to escape out if I were to put it all into a variable (I know the quotes, but that's all) : if (!$name){ $error_msg.=Your Name \n; } Thanks, Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] getting slash with single quotes in form mail

2002-04-05 Thread Rob Packer
Hi, I have a contact form and when someone fills it out, all the single quotes (apostrophes) end up having a slash in front of them in the e-mail, like this: I\'m Can someone tell me how to stop this? Thanks you. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Can't get this code to work...

2002-04-05 Thread Rob Packer
Sorry for the vague Subject, but I have this code that looks fine to me. There's some logical error, because I can't get to the second if statement, although when I echo \$.$cb[$i] I get $checkboxName. If I hard code $checkboxName it will work though. Anyone know why? TIA! $num_fields= 8 ;//the

Re: [PHP] Can't get this code to work...

2002-04-06 Thread Rob Packer
Dan, Really, thanks for the help. Yeah, as you know I'm not experienced near enough with PHP. Maybe you could provide me with an e-mail and prices for consultation(I suppose this is what 'Analysis Solutions' does?) Regards, Robert Packer Analysis Solutions [EMAIL PROTECTED] wrote in

[PHP] not so

2002-06-08 Thread Rob Packer
[0] would match the whole ip, I was hoping [1] and[2] would echo the next 2 found, but it doesn't Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] not so

2002-06-08 Thread Rob Packer
oops, no coffee yet Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 08 June 2002 22:36, Rob Packer wrote: [0] would match the whole ip, I was hoping [1] and[2] would echo the next 2 found, but it doesn't 1) Could you not sta

[PHP] Session wierdness

2002-06-18 Thread Rob Walls
Is it possible to use PHP sessions reliably? I get very inconsistent results. I register session vars after a password check. I use session_start at the top of every file. I watch the /tmp directory for session files. Within a few random page transitions the session data inside the registered

[PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Hi, I've seen a few post for this same thing but I can't seem to get it working. What I'm doing is taking a form with check boxes and putting them into an array. Then I'm attempting to INSERT them into the db, one checkbox value per row. Okay, well I've tries 2 ways that I think should work and

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Message- From: Rob Packer [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 23, 2002 7:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Insert an array into MySQL Hi, I've seen a few post for this same thing but I can't seem to get it working. What I'm doing is taking a form with check boxes and

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
TABLE $username_links (id INT(4) not null, links VARCHAR(20) not null, UNIQUE (id)); if(mysql_query($query_links,$connection)){ echo Links table created!br; }else{ echo no links table madeBR; } thanks, Rob John Holmes [EMAIL PROTECTED] wrote in message 001201c21ab5$0df073a0$b402a8c0

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Nevermind, I got it. I had Unique for a field which made it mad. Rob Packer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... oops, sorry about the other post (I've got a baby that likes the keyboard)... Hi, This is the form, which I had doub

Re: [PHP] php in a layer trouble

2002-04-25 Thread Rob Packer
Yep, you guys are right! Thanks for the help Robert Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I don't believe there is such a problem, because DIV? echo foo; ?/DIV will get replaced with DIVfoo/DIV by the PHP parser. Thus by the time

[PHP] make hitting enter in a text box = br

2002-05-13 Thread Rob Packer
I have a simple script for a newsletter, with a text area box for someone to type in their newsletter. Is it possible to make it so when someone hits enter with the text box it will equal br? TIA Robert -- -- NRC ONLINE -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Please help - debug.log

2001-09-25 Thread Rob Walker
HiI am new to Linux and PHP. I've tried sending this to php-install, butit didn't go through. I've attached the debug.log which was created while I was installing PHPonto my 400MHz Pentium PC, running Linux (and DOS on another partition) witha MySQL database and an Apache web server.Please

[PHP] (RW) PHP installation problems

2001-09-26 Thread Rob Walker
Robley for letting me know that attachments get stripped.) Thanks in advance for your help. Best regards Rob email: [EMAIL PROTECTED] CONFIGURE: './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/' '--with-apxs=/usr/local/apache_1.3.12/bin/apxs' CC: gcc CFLAGS: -g

[PHP] Installing PHP with windows

2001-11-21 Thread Rob Bennion
Hi I want to try out PHP and wanted to know if it is possible to install it on a windows machine and use it with personal web server. Any help would be appreciated. thanks Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] Installing PHP with windows

2001-11-21 Thread Rob Bennion
to install linux on the machine? Thanks Rob Richard S. Crawford wrote: You can download the win32 PHP binaries from www.php.net. I know it works because I've got it running on my win2k box. But I'm also running Apache so I don't know if it will work with PWS. I'd be interested in knowing

Re: [PHP] stuck

2001-08-17 Thread Rob Hardowa
I'm not 100% sure what you want to accomplish here, or why it is stuck on the last row, but I've made some observations. On Friday 17 August 2001 09:05 am, you wrote: ? session_start(); session_register(address); session_register(city); session_register(state); session_register(zip_code);

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Rob Hardowa
According to the spec: $HTTP_REFERER The address of the page (if any) which referred the browser to the current page. This is set by the user's browser; not all browsers will set this. So if it is set by the user's browser, it can be changed, or shut off. I believe there are programs

Re: [PHP] sessions

2001-08-17 Thread Rob Hardowa
Hi Jeremy, session_destroy() should not destroy all your sessions. As per the manual: session_destroy() destroys all of the data associated with the current session. If you are having trouble with all your sessions being deleted in each run, it may be a problem with these php.ini file

Re: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Rob Hardowa
Hiya, I was waiting for someone to answer this question but it hasn't happened yet. I was using this a couple years ago to get a weather page from http after the ftp site with the raw text disappeared. Rest assured this has NOTHING to do with php and everything to do with lynx. I ran my

Re: [PHP] What does PHP stand for?

2001-08-28 Thread Rob Hardowa
I believe that it was called Personal Home Page during version 2, and if I'm not mistaken, there was a contest (sorta) around the time 3 was released to find a new name. On Tuesday 28 August 2001 03:08 pm, you wrote: On Mar 28 Ago 2001 19:52, John Meyer wrote: At 05:15 PM 8/28/01 +0228, you

Re: [PHP] Date (Year) .. adding..

2001-05-24 Thread Rob Hardowa
I like Tyler's solution. It is better to move the call to date() outside the loop. You only need to get the current year once, and then add one onto it each iteration. If you leave the call to date() inside the loop then it calculates the current date each time and that uses CPU power and

Re: [PHP] Using html templates

2001-05-24 Thread Rob Hardowa
template alternatives but I am unable to make suggestions based on what I've read so far Rob On Wednesday 23 May 2001 08:12 am, you wrote: I am using libphp and quite satisfied with it. http://phplib.netuse.de/ -- Tolga 'thorr' Orhon Jamie Thompson [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] PHP Discussion Forums ?

2001-06-19 Thread Rob Goodwin
support network. Also I'd like to know of any and all PHP scripted NNTP gateways there might be out there that I do not know about. thanks, rob

[PHP] Passing files to a browser

2001-02-08 Thread Rob Root
HI, I am having problems passing files through to a browser. First I tried: ?php $fp = fopen("test.pdf", "r"); header("content-type: application/pdf"); fpassthru($fp); fclose($fp); ? And got an Acrobat instance with no file displayed. Then I tried: ?php $fp =

Re: [PHP] Passing files to a browser

2001-02-08 Thread Rob Root
On Thursday 08 February 2001 18:43, Rob Root wrote: ?php $fp = fopen("test.txt", "r"); header("content-type: text/plain"); fpassthru($fp); fclose($fp); ? And got: Hello, World br bWarning/b: 1 is not a valid File-Handle resource in

Re: [PHP] HOWTO handle sessions ?

2001-02-09 Thread Rob Root
HI, Pick up a copy of the "PHP Developer's Cookbook". They devoted a whole chapter to sessions. Regards, Rob Root Evelio Martinez wrote: Hi! Does anyone know of some good examples of sessions? -- Evelio Martnez -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Re: Compile - libxml2

2007-11-12 Thread Rob Richards
what's defined. --with-libxml-dir=${XML2_DIR} \ That's what your using. Where is XML2_DIR coming from? Your path only shows XML_DIR being defined. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to handle rows of checkboxes upon form submit?

2007-12-06 Thread Rob Gould
Let's say I have a PHP script which lists a series of objects for sale at a yard sale, each with a checkbox to the left of the name of the item. If I wanted to have a submit button, and run through the list of items that were checked and act on them, how would I do that? To gain some

[PHP] How to take video embed codes and change all their widths/heights?

2008-01-15 Thread Rob Gould
Can anytime give me some insights on how to write a PHP script that could accept any of the below strings below and edit the strings to change their width and height settings dynamically? For instance, if I want all embedded videos to have a width of 320, and a height of 240, using PHP's

[PHP] PHP/mySQL question about groups

2008-02-06 Thread Rob Gould
Let's say I have a PHP-based wine application, and it's taking a set of mySQL data that looks like this: wineidname size 123 Silver Oak 750ML 123

[PHP] Multiple MySQL INSERT into loop

2008-02-06 Thread Rob G
I'm working on this, and am not sure how the variable syntax needs to be here. This is what I have done manually. //BEGIN EXAMPLE mysql_query (INSERT INTO testimonials (id, quote, name) VALUES ('$id_1', '$entry_1', '$name_1')); mysql_query (INSERT INTO testimonials (id,

[PHP] question about database field-types and special characters

2008-02-14 Thread Rob Gould
I've got a PHP application that pulls in data from a mySQL database. The data is a series of wine producers, and many of them have special foreign characters over the a's and o's. When I go and view the data from my database using myPHPAdmin, the characters look fine, but when I pull the

[PHP] PHP/mySQL dropping zeros after inserting number into record

2008-02-16 Thread Rob Gould
I've got a PHP script that inserts 00012345678 into a record in a mySQL database (it's a barcode). Things work ok unless the number has preceding zeros, and then the zeros get cut off and all I get is 12345678. I have the mySQL database fieldtype set to bigint(14). If the maximum length a

[PHP] Copying specific fields from table to table

2008-02-24 Thread Rob Gould
I've got 2 tables. One table which contains a series of barcodes assigned to product id #'s, and another table with JUST product id #'s. I need to somehow transfer all the barcodes from the first table into the second table, but only where the id #'s match. Can anyone tell me if this is

[PHP] Found the problem...

2007-07-26 Thread Rob Adams
Found the problem. The piece of code was outside of a block where $db had been created, so it was a non-object the whole time... Easily fixed, but a hard error to find when I'm assuming it's my brand new class that's the problem. -- Rob Rob Adams [EMAIL PROTECTED] wrote in message news

[PHP] Createing a Test DB Object.

2007-07-26 Thread Rob Adams
I need to test a bunch of code that extensively uses a mysql database (both selects and inserts), and I want to do it without actually writing to the database.. Instead of commenting out all of the $db-query($insert_query) statements and echoing $insert_query, I thought I'd make the following

[PHP] Outputting a PDF.

2007-08-22 Thread Rob Adams
I have a pdfs saved in a database (created with pdflib). When I output them in firefox, it works just great everytime. But when I try in IE, it doesn't always work. I know, I know, it sounds like a browser issue, but here's the problem. I figured out that when I run session_start(), the pdf

[PHP] Bind function parameters with create_function ('currying')

2007-09-04 Thread Rob Desbois
create a class with the one function, but that seems a wee bit messy to me. Any ideas? -- Rob Desbois Eml: [EMAIL PROTECTED]

Re: [PHP] opcode question

2007-09-05 Thread Rob Desbois
Hi, I believe this would be a bug - report it at http://bugs.php.net/ with the exact error output and a minimal example script. --rob On 9/5/07, Frank Höger [EMAIL PROTECTED] wrote: Hello, I recently came across an invalid opcode 137/8/8 error. I couldn't find anything on the net regarding

Re: [PHP] php 5 soap question

2007-09-28 Thread Rob Richards
__getTypes() and __getFunctions() are your friends. They tell you alot about the functions and structure of parameters and return types. Rob Hurst, Michael S. wrote: I would have to get approval before I can do that. I can probably post a portion of the wsdl but not sure that it would

Re: [PHP] DOM Question. No pun intended.

2006-09-14 Thread Rob Richards
[EMAIL PROTECTED] wrote: Rob, I wasn't aware that that would work. I mean I suppose it should, but basically this is what I'm doing: 1) Create a new DOMDocument 2) DOMDocument-loadHTML() 3) find the elements I want with getElementsByTag() then finding the one with the correct attributes

[PHP] Mapped Drive issue

2006-10-18 Thread Rob Kritzer
I have a script the use to work: $date = date(mdy); mkdir(Y:/Daily_DisplayAds/todays_ads-$date); But now I get this error: Warning: mkdir() [function.mkdir]: No such file or directory in C:\wamp\www\scripts\ad_finder\display_class.php on line 10 If I change Y to C it works, can anyone please

[PHP] FTP - folders

2006-10-23 Thread Rob Kritzer
Is it possible to FTP a folder and all it's content? I can do a file at a time, but not a folder. Also there is times when I will not know the folder name, so I would like it to just upload everything it finds in the folder I set. Is this possilbe? Thanks

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Rob Kritzer
pm, Rob Kritzer wrote: I have a script the use to work: $date = date(mdy); mkdir(Y:/Daily_DisplayAds/todays_ads-$date); But now I get this error: Warning: mkdir() [function.mkdir]: No such file or directory in C:\wamp\www\scripts\ad_finder\display_class.php on line 10 If I change Y to C

Re: [PHP] FTP - folders

2006-10-23 Thread Rob Kritzer
Yes Tedd, This is what I am having trouble with, I can see where you can upload each file, but all I really need it to do is take the contents of a folder and upload everything it finds in the directory. Rob On 10/23/06, tedd [EMAIL PROTECTED] wrote: At 8:42 PM +0100 10/23/06, Stut wrote

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Rob Kritzer
For now I am on a PC XP Pro, wish they would give me back my Mac. On 10/23/06, Ed Lazor [EMAIL PROTECTED] wrote: Depends on your operating system. On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote: Yes, the directory on mapped drive Y does exist. I do think that it might have something

[PHP] DomDocument-schemaValidate() in PHP4

2006-11-02 Thread Rob Smith
PHP? Thanks for any advice Rob Smith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to prevent DomDocument from adding a !DOCTYPE.

2007-01-17 Thread Rob Richards
is excluded from this statement) so not sure exactly what you are trying to do here or running into. Are you just trying to serialize a DOMDocument? root / is a perfectly well-formed document (though inclusion of xml declaration is *highly* recommended). Rob -- PHP General Mailing List (http

[PHP] Re: How to prevent DomDocument from adding a !DOCTYPE.

2007-01-17 Thread Rob Richards
would need to use the XML serialization routines, which would most likely change the structure of your document (it would be XHTML compliant now). Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: DOM - Question about \0

2008-03-16 Thread Rob Richards
(or some other encoding). The data can then be transmitted in a regular element. Note that it is possible that your blob data can contain the following sequence of characters ]] which would effectively terminate the CDATA block even though there really is more data. Rob -- PHP General Mailing

[PHP] Character set problems

2008-04-03 Thread Rob Gould
I'm having a hard time figuring out why my character sets and data look when when viewed in phpAdmin when browsing the table-columns, but then I go to show the data on my web-page with PHP, I get garbage-characters where I should be seeing apostrophs and special foreign-characters. I copied

Re: [PHP] Character set problems

2008-04-04 Thread Rob Gould
everywhere I make a SQL call? On Thursday, April 03, 2008, at 11:14PM, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2008-04-03 at 21:56 -0700, Rob Gould wrote: I'm having a hard time figuring out why my character sets and data look when when viewed in phpAdmin when browsing the table

[PHP] How to determine which column matched

2008-04-11 Thread Rob Gould
I'm trying to figure out a way that SQL can pass a flag to PHP to say which column matched during a query. Let's say for instance that I want to search for the word apple in both column producer, and column designation. I was hoping I could do something like this: Select producer, flag=1

[PHP] Can Safari 3 be forced to cache a large jpeg with PHP headers?

2008-05-13 Thread Rob Gould
I am creating a touch-screen kiosk application, using a full-screen version of Safari 3.1, and was wondering if there's a way I can force Safari to cache a large background image JPEG. What I'm finding is that Safari 3 will sometimes cache my large 1.1 MB background image (1680x1050), and

[PHP] Re: XML DOM problem with getAttribute(string)

2008-06-11 Thread Rob Richards
/XML/1998/namespace', 'lang'); Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML DOM problem with getAttribute(string)

2008-06-11 Thread Rob Richards
You might want to put a link to a complete example because $page-documentElement-getAttributeNS('http://www.w3.org/XML/1998/namespace', 'lang'); is how you access it. Rob [EMAIL PROTECTED] wrote: Thank you, Rob, Unfortunately, that didn't work, either (though I'll keep it in mind

  1   2   3   4   >