1. problems parsing xml namespaces w/ php5

    Date: 05/06/05 (PHP Community)    Keywords: php, xml

    hi all I am looking for an easy way to parse xml namespaces w/ php. can anyone lead me towards the right direction?

    i'm running php5 and i know about simple_xml but it's not parsing the name spaces.

    many thanks in advance.

    Source: http://www.livejournal.com/community/php/295625.html

  2. cron job question

    Date: 05/04/05 (Web Development)    Keywords: php, web

    Hi, I'm new to the community, my skills in terms of web development is I only learn things I need to know and today I'm looking for a lesson in cron jobs. My goal is this. To send a picture from my camera phone using e-mail to a special e-mail account I've set up on my site and to use a cron job to extract the .jpg image and put it into the root level of my webspace (and if possible to rename the file) I've got the scheduling part figured out in that my webpanel has a special cron job set up and all I need now is the magic code that will check my e-mail, extract the file and place it in the directory. I'm pretty sure that's what I need, but I can be easily persuaded otherwise. Other info you might need...my e-mail is POP? the mail server is mail.loudestnoise.com? the e-mail address I want to use is c@loudestnoise.com. Please web dev masters. show me the light. eh i guess I need to use a language such as php or perl to accomplish this. also something I know little about.

    crossposted to '[info]'webdesign

    Source: http://www.livejournal.com/community/webdev/194435.html

  3. cheat sheets

    Date: 05/04/05 (WebDesign)    Keywords: php, css

    through the loveliness that is del.icio.us i found a great css cheat sheet (there is also a php cheat sheet there too). download it & print it up!

    Source: http://www.livejournal.com/community/webdesign/867848.html

  4. PHP Syntax Exam

    Date: 05/07/05 (PHP Development)    Keywords: php

    Found this a little while ago browsing, thought I'd share: PHP Syntax Exam.

    It was a lot more challenging than I thought it would be - I blew every last question about assignation by reference, because I never use it, but did manage to miss only 18/69 questions.

    Posted to '[info]'php '[info]'phpdev

    Source: http://www.livejournal.com/community/php_dev/57261.html

  5. PHP encryption support

    Date: 05/07/05 (PHP Development)    Keywords: php

    Greetings,

    I've been working on a project that requires encrypted communication between two PHP servers. I have recent experience using the mcrypt API, but I'm considering setting up a public key exchange system with the openssl API. I could make either scheme work for me, but my problem is one of popularity.

    This would be installed on a wide diversity of PHP servers. Neither mcrypt nor openssl are installed by default, but I was wondering if anyone knew which was more commonly available. Additionally, if you know of a GPL'd native PHP encryption/decryption (2-way) functions or classes, I welcome your input.

    Thanks!

    Source: http://www.livejournal.com/community/php_dev/56944.html

  6. One doubt about php_dev

    Date: 05/07/05 (PHP Development)    Keywords: php, rss, web, google

    I found a website in Google which fetches the LJ content of '[info]'php_dev, is it the official site of PHP-Dev Community?

    If it is so, then i'll suggest some changes in that website and we can try the code i wrote in my earlier post. Also we have many efficient web designers in this community who can design that site very nicely.


    BTW, did anyone find the solution to identify the LJ-Cut? What '[info]'acidofil wrote against my earlier post about Lj-Cut, am afraid that LJ-cut can't be recognised in that way through RSS. If anyone can give the code then it'll be helpful

    Source: http://www.livejournal.com/community/php_dev/56720.html

  7. arrgh

    Date: 05/08/05 (Mozilla)    Keywords: php, browser

    Just bumped my pc, causing it to reset and now Firefox is dead. Everytime I try to open it I get the following message
    "The procedure entry point ??_7nsAutoString@@6B@ ccould not be located in the dynamic link library xpcom.dll" . The browser opens but I can't see the pages.


    I've tried uninstalling, system restore and still nada. Typing in the error message took me to this page only
    http://www.chrisbeach.co.uk/core/scripts/entryViewer.php?ID=5232
    which didn't really help.

    Any ideas?

    Source: http://www.livejournal.com/community/mozilla/281290.html

  8. Manipulating time

    Date: 05/08/05 (PHP Community)    Keywords: php

    This should be easy, but I can't find an answer at php.net

    I need to calculate a date 30 days from now.

    I thought the best way would be to find today's day of the year, add 30, then convert it to 0000-00-00 format. However, I am having trouble figuring out the last step.

    Thank you.

    Source: http://www.livejournal.com/community/php/296687.html

  9. External HTML file in Flash?

    Date: 05/09/05 (WebDesign)    Keywords: php, html

    Hey everyone, here is my problem:

    My client wants an all-Flash portfolio site. At a certain section of the site, the page will "slide in" from the right side of the screen. Easy.

    Now, he wants an email form on this page. You know, enter data, click send, and it goes to his email address.

    How do I accomplish this? Can you do something like this in Flash? I don't know php, cgi, or any of that... so I have a big problem, yes?

    I was thinking of finding a site like Bravenet that will offer free email-forms or something. I assume this would be in an anti-flash environment though, so I am also wondering if you can load external HTML files in Flash somehow.

    I dunno, I'm confused. Help!

    Source: http://www.livejournal.com/community/webdesign/871775.html

  10. storage of cc info

    Date: 05/09/05 (Web Development)    Keywords: php, programming, mysql, sql

    I need a script/app/whatever to just store credit card info, so they can be processed manually at a terminal later. What can I do about this? Any recommendations?

    (I'm not a programmer myself and only have very basic knowledge of php/mysql so I'm hoping this won't need custom programming shit.)

    Thanks a ton

    Source: http://www.livejournal.com/community/webdev/196766.html

  11. CSS Compatibility Chart

    Date: 05/09/05 (Web Development)    Keywords: php, browser, css, web

    Hey web-dev,

    Saw this on digg this morning, thought it would be useful to anyone working on a stylesheet and want to know how it will work on different browsers.

    http://www.corecss.com/properties/full-chart.php

    -DG

    Source: http://www.livejournal.com/community/webdev/196533.html

  12. Hey

    Date: 05/10/05 (Javascript Community)    Keywords: php, html, web

    Hello, hello, great community, don't know why I never found it before, but alas.. here I be..

    I am a web developer and have my hands in just about everything these days.. working with someone to update a WordPress Blog.. they are wishing to add the following js script to their content..






    but notta.. can't get it to work.. any ideas on why I'm having so much troubles with this thing??

    I have mentioned this matter previously in this community..

    '[info]'php

    Here http://www.livejournal.com/community/php/290136.html

    Source: http://www.livejournal.com/community/javascript/65921.html

  13. Include file configuration

    Date: 05/10/05 (PHP Community)    Keywords: php

    I have a rather odd problem. I have a file, /test/iidb/version.php that includes several files, which they themselves include several files, and so on. All of these included files are in a different directory -- /includes/iidb/ -- that is separate from version.php's directory.

    Somewhere along the way, these included files include a file in the same directory named Idea.php: For example /includes/iidb/idea/IdeaIDProxy.php includes /includes/iidb/idea/Idea.php.

    Now this all works as it should. It only seems to lose it when -- without changing any of the other files! -- I create a file /test/iidb/idea.php (the same directory as version.php). Then PHP seems to mistake /test/iidb/idea.php for /includes/iidb/idea/Idea.php, and as a result, fails to include required code.

    This only occurs on my test server, and not my main server. Given that I sync'ed all the files between them, I suspect it's a configuration difference.

    Suggestions?

    Source: http://www.livejournal.com/community/php/297340.html

  14. LAMP vs. Microsoft

    Date: 05/11/05 (Web Development)    Keywords: php, mysql, asp, sql, security, linux, microsoft, apache

    I have to do a report my class Technical Writing. I have chosen to do a report on the LAMP Architecture vs. Microsoft Line of products. LAMP being Linux, Apache Server, MySQL, and PHP. Microsoft being Microsoft Windows, IIS Server, MS SQL Server, and ASP.NEt. What do you guys think is best? Are there any security flaws in one or the other? Which is more efficient altogether?
    If you could help me with this, I would be very appreciative.

    Source: http://www.livejournal.com/community/webdev/197774.html

  15. MySQL Tree Structure Question

    Date: 05/11/05 (MySQL Communtiy)    Keywords: php, mysql, sql, web

    I've got a typical weblog system setup, which allows users to comment upon posts.

    The comments are located in their own table which has a structure similar to this (actually it stores thinks like IP address, etc too):

    CREATE TABLE comments (
      id int(11) NOT NULL default '0',
      article int(11) NOT NULL default '0',
      parent int(11) NOT NULL default '0',
      title varchar(65) default NULL,
      author varchar(25) NOT NULL default '',
      body text,
      PRIMARY KEY  (id,article)
    );
    

    This is pretty standard stuff - the comments are associated with a particler "article", and they may also be replies to other comments - in which case the "parent" will point to the parent comment id.

    This structure allows there to be a nice nested tree of comments, in which some are "top level" because they have no parent set, and others are nested.

    One problem I'm having is that with this structure is that the naive implementation for showing the comments is using recursion - and this is slowing down significantly as the size of the comments grows.

    The pseudocode looks something like this:

    #  $article is the article these comments are associated with
    #  $parent is the parent of the children we want to see
    #  $level  is increased when we go deeper into the tree,
    #          used to display a nice indented tree
    sub display_children($article, $parent, $level) 
    {
       # retrieve all children of $parent
       $result = mysql_query('SELECT * FROM comments WHERE article=$article AND parent= $parent') ;
    
       # display each child
       while ($row = mysql_fetch_array($result)) 
       {
           # indent and display the title of this child
           echo str_repeat('  ',$level).$row['title']."\n";
    
           # call this function again to display this
           # child's children
           display_children($article,$row['id'], $level+1);
       }
    }
    
    # Display comments for article 40:
    display_children( 40, 0, 0 );
    

    (This is a pretty faithful representation in PHP, but the actual code is Perl, using DBI).

    So now onto the question:

    How can I speed this up, and avoid the recursion?

    I've looked at CPAN for DBI::Tree, and other obvious candidates but I see nothing suitable.

    I think I probably need to change the structure into something more efficient to display, but I admit my SQL-fu is weak.

    Any suggestions appreciated.

    Source: http://www.livejournal.com/community/mysql/56692.html

  16. At the mercy of WordPress Plugins; how to fight back

    Date: 05/11/05 (Java Web)    Keywords: php

    WordPress has unique plugin architecture. Plugins are simply php files which are included (and executed) before any php pages which renders the content, whether it is your blog page or syndication feed or even administrative functions. The plugins can do anything that is allowed by php code, including trashing your hard-disk to sending your bank [...]

    Source: http://blog.taragana.com/index.php/archive/at-the-mercy-of-wordpress-plugins-and-how-to-fight-back/

  17. Thought experiment: Google Web Accelerator and phpMyAdmin combo

    Date: 05/11/05 (Java Web)    Keywords: php

    What would happen when a GWA user uses phpMyAdmin?

    Source: http://blog.taragana.com/index.php/archive/thought-experiment-google-web-accelerator-and-phpmyadmin-combo/

  18. just a curious question...

    Date: 05/12/05 (PHP Community)    Keywords: php

    In PHP 5, say I pass a newly-created array to a function, like this:

    function foo($a) { }
    foo(array("one" => 1, "two" => 2, "three" => 3));

    Does that cause the array to be created, then copied unnecessarily when it's passed to the function, or is PHP smart about it? I know I can do it the following way instead, to ensure that it's not copied:

    function foo(&$a) { }
    $bar = array("one" => 1, "two" => 2, "three" => 3);
    foo($bar);

    But I'm just curious about the first way. Anyone know?

    Source: http://www.livejournal.com/community/php/298532.html

  19. PluggedOut CMS 0.4.9 Content Management System available for download...

    Date: 05/12/05 (PHP Community)    Keywords: cms, php

    Just a quick message to let anybody who is interested know that my content management script "PluggedOut CMS" has reached it's next point release, and is available for download.

    Information on the Project (and download link)...

    - http://www.pluggedout.com/index.php?pk=dev_cms


    There may be a fairly significant gap to the next release (0.5) because I'm planning to add a fair amount of functionality, and re-organise fiarly substantial sections of the code-base.

    Regards

    Jonathan Beckett
    http://www.pluggedout.com

    Source: http://www.livejournal.com/community/php/298365.html

  20. Grassroots computing languages hit the big time

    Date: 05/13/05 (Application Development)    Keywords: php

    Oracle deal shows that PHP and other scripting languages--once considered toys by serious programmers--are going corporate.

    Source: http://news.zdnet.com/Grassroots+computing+languages+hit+the+big+time/2100-9593_22-5705448.html?part=rss&tag=feed&subj=zdnn

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home