1. Trailing slash

    Date: 04/24/05 (PHP Community)    Keywords: php

    This is my .htaccess file

    RewriteEngine on
    RewriteRule ^rum/([A-Za-z]*)$ rum/$1/ [R]
    RewriteRule ^rum/([A-Za-z]*)/$ rum.php?username=$1


    The url

    www.site.com/rum/bigbird/ works
    www.site.com/rum/bigbird doesn't work.


    Can someone help, I’m sure it's pretty simple but I’m having trouble getting it to work correctly.


    thanks,
    -b

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

  2. Mainly Education books

    Date: 04/24/05 (College Textbook)    Keywords: php

    I have 7 education books such as Classroom Management, Arts and Learning second edition and others.

    This land is Our Land

    Many Lives Many Masters

    A Little Help from Above

    For more info. I have them posted on http://www.3dbawx.com/3dbauctions/membersarea.php?page=selling

    Source: http://www.livejournal.com/community/collegetextbook/17552.html

  3. Recommend me a paid storage hosting site.

    Date: 04/25/05 (WebDesign)    Keywords: php, mysql, asp, sql, web, hosting

    I just recently register my domain name, and now I'm asking for those that have domains with storage access what hosting company are you using ? I prefer for the hosting company to be in the USA, and if it's not at lease have payment options in USA dollars.

    I would like for the hosting company to have the following for service
    FTP Access
    PHP
    ASP
    CGI-BIN
    MYSQL
    WEB MAIL
    ALLOWS MULTIMEDIA (really important I've been searching around hosting sites,but the ones I'm finding doesn't allow it)
    SUB DOMAIN

    and a good amount of space and bandwidth

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

  4. Virtual Subdomains

    Date: 04/25/05 (PHP Community)    Keywords: php, web, hosting

    Hello,

    I'm not sure if this question has come by before, but I was wondering if I could get some help creating virtual subdomains. I've searched everywhere over the Internet and have tried most things I've come accross but nothing seems to work.
    Also I have contacted my hosting support who, I think, don't have a clue in how to do it. They also say that virtual subdomains are enabled but to create them you have to go through cPanel and a problem with this also is that it creates a directory in the root folder.
    I'm just wondering if I would be able to get some sort of virtual subdomain automation. So as soon as a user signs up, they are able to access their page at "http://[username].website.com".
    And also being redirected to their page internally like what mod_rewrite does.

    RewriteCond %{HTTP_HOST} ^$
    RewriteRule ^(.*)$ /journal\.php?action=view&user=[username] [L]

    Something like that. But of course, the above example won't work.
    Just wondering if anyone had any ideas or could help me get something working.

    Thank you.

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

  5. A Good PHP Search Engine?

    Date: 04/26/05 (WebDesign)    Keywords: php, mysql, html, sql, web

    I'm looking for a good PHP search engine with full text indexing, the ability to crawl pages itself, preferably MySQL storage, and advanced search options. It'd also be nice if it rendered output in streamlined xhtml, or uses Smarty but not required.

    Any suggestions?

    Posted in:
    '[info]'php '[info]'php_dev '[info]'webdesign '[info]'webdev
    I apologize in advance to all the people that are members of one or more of these communities

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

  6. A Good PHP Search Engine?

    Date: 04/26/05 (Web Development)    Keywords: php, mysql, html, sql, web

    I'm looking for a good PHP search engine with full text indexing, the ability to crawl pages itself, preferably MySQL storage, and advanced search options. It'd also be nice if it rendered output in streamlined xhtml, or uses Smarty but not required.

    Any suggestions?

    Posted in:
    '[info]'php '[info]'php_dev '[info]'webdesign '[info]'webdev
    I apologize in advance to all the people that are members of one or more of these communities

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

  7. koders.com

    Date: 04/26/05 (Web Development)    Keywords: php, programming, asp, sql, java, jsp

    http://www.koders.com/
    Koders.com is the leading search engine for open source code. Our source code optimized search engine provides developers with an easy-to-use interface to search for source code examples and discover new open source projects which can be leveraged in their applications.


    excellent site for help with your computer programming. there seems to be a good bit of source code in here on these languages: Ada, ASP, Assembler, C, C#, Cpp, ColdFusion, Delphi, Eiffel, Erlang, Fortran, Java, JavaScript, JSP, Lisp, Lua, Mathematica, Matlab, ObjectiveC, Perl, PHP, Prolog, Python, Ruby, Scheme, Smalltalk, SQL, Tcl, VB, VB.NET

    i wish they included verilog.

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

  8. A Good PHP Search Engine?

    Date: 04/26/05 (PHP Community)    Keywords: php, mysql, html, sql, web

    I'm looking for a good PHP search engine with full text indexing, the ability to crawl pages itself, preferably MySQL storage, and advanced search options. It'd also be nice if it rendered output in streamlined xhtml, or uses Smarty but not required.

    Any suggestions?

    Posted in:
    '[info]'php '[info]'php_dev '[info]'webdesign '[info]'webdev

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

  9. Book recommendations?

    Date: 04/26/05 (PHP Community)    Keywords: php, mysql, html, database, sql, web

    I'm trying to do some really wacky stuff with a form.

    Essentially, I'm reading in multiple columns from a table in a MySQL database (looping, obviously), and creating a form as I present the data. The challenge this presents is that for each loop, the form values have to have a unique identifier, so I'm trying to use variables. It's not working so well, but I'm using standard HTML to try to process the form. I've gleaned bits and pieces searching the web that PHP has its own method to handle form input.

    So, I need a good book that has a lot of detail on how to work with forms. A good web resource would work too.

    Thanks in advance!



    This is a quick mockup of the code and how I'm presenting the form...



    So, in theory here, each loop should give a unique value to each form element. I just need to know how to process it. I'm writing selected data back into a seperate table, so I need to loop through the results and write them out.

    Again, help is appreciated!

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

  10. A Good PHP Search Engine?

    Date: 04/26/05 (PHP Development)    Keywords: php, mysql, html, sql, web

    I'm looking for a good PHP search engine with full text indexing, the ability to crawl pages itself, preferably MySQL storage, and advanced search options. It'd also be nice if it rendered output in streamlined xhtml, or uses Smarty but not required.

    Any suggestions?

    Posted in:
    '[info]'php '[info]'php_dev '[info]'webdesign '[info]'webdev
    I apologize in advance to all the people that are members of one or more of these communities

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

  11. Re: Re: PHP development practices from a Java Architects eye

    Date: 04/26/05 (Java Web)    Keywords: php, java

    In response to my post PHP development practices from a Java Architects eye, Jeff Moore had some thoughts. I posted my response (to his reponse to my post) in his post. Dizzy yet? However after 12 hours it was still not approved! So I thought of posting it here in my blog. To get an idea what [...]

    Source: http://blog.taragana.com/index.php/archive/re-re-php-development-practices-from-a-java-architects-eye/

  12. Debunking Java Myths of PHP developers

    Date: 04/26/05 (Java Web)    Keywords: php, java

    After my last post on the differences between Java and PHP development practices, I saw some strange notions surface in PHP developers regarding Java. This post is an attempt to dispel some myths about Java by PHP (and other non-Java) developers. Feel free to chime in. Myth 1: Strong Multi-threading support makes Java complicated and lack [...]

    Source: http://blog.taragana.com/index.php/archive/debunking-java-myths-of-php-developers/

  13. inquiry

    Date: 04/27/05 (PHP Community)    Keywords: php, browser, html

    Long story short, I took a data structures course, and decided to practice my new skills this summer by designing an HTML RPG.

    I'm close to the point to designing the actual interface - player / item objects are all done. Currently I have no idea what kind of interface it will be, though it will probably end up like Magic Candle (so very old... but picture a top-down interface without the fancy graphics). Obviously, the user will move their character either via links or form buttons.

    Say the character dies when they fall into a trap. What is to stop them from using their browser's history to go back and take a different path? Or, say they gain 1 hit point when they level - what's to stop them from going back and hoping for a 10?

    Is it even possible to restrict this sort of browser-history thing? I know this works in Firefox atleast:

    1. from home.php, follow a link to page.php
    2. on page.php, click a link to work.php
    3. work.php only modifies data, then gives a header->location to page.php
    4. on page.php, click a link to home.php
    5. home.php loads in history
    The history in Firefox shows up home->page->home, so steps 3 and 4 aren't recorded. Is this true for all browsers?

    Any other ways of doing this besides header: location?

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

  14. Beyond Weirdness: Windows 2000

    Date: 04/28/05 (PHP Community)    Keywords: php, mysql, database, sql, web, linux, hosting

    I have a hosting company that runs Linux with PHP and MySQL through Plesk (a kind of server control panel) I can’t get into the control panel at work because I’m behind a firewall that blocks port 8443. I can, however use “my network places” in windows 200 to create an FTP connection to my server. The down side is: with FTP I can’t interface with the MySQL database… but, at least, I can upload and download files…Right?

    Wrong.

    This is the weirdest thing I’ve ever seen. The files I upload using FTP on my home computer or Plesk at home can be accessed from the web by typing the URL, but they do not appear in windows FTP flooder for the site. Yes, I have refreshed and restarted and connected and disconnected. They just don’t show up.

    I can copy a file in to the FTP folder in windows… and it returns no error and appears to have uploaded correctly. But, if I type in the URL for the file the server says “file not found” I believe the upload is not working because when I go home and look in FTP on the other side of the firewall the file is not there! But, it appears to be there in windows. It was even there the next day. What on earth is going on!

    Moreover, if I use a web-based FTP like http://01ftp.com/index.php it will show be a different set of files depending on what side of the firewall I’m on.

    I can’t turn the firewall off but I’d like to, at least, understand why this is happening.

    Why didn’t windows return an error when the file failed to upload? What if that file had been important? How can it show the file in the FTP folder for my site when it’s not really there? I think that’s a pretty scary and unreliable thing for an OS to do!

    I think this might have something to do with actve and passive FTP... I'm reading up on it now... but honestly I don't have a clue.

    The firewall is Mcaffe desktop firewall, and it's centrally controlled so no way to shut it off without being some kind of evil little haXX0r.

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

  15. Can't connect to local MySQL server

    Date: 04/30/05 (PHP Community)    Keywords: php, mysql, database, sql

    I'm working on redesigning the layout of a site I created not long ago.  I'm using the same database and all the same funcions and whatnot, I'm just changing the layout.

    Seems easy enough, right?  No.  The code that works fine and dandy on the old version of the site is causing errors on the new version.  All I did is copy the php files containing the code to connect to the database and the functions that I use to populate the main page (look at the old version, you'll see what I mean).

    So how come on the new site, the code that worked fine before, gives me the following errors?


    Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in [php file] on [line number]

    Warning: mysql_query(): A link to the server could not be established in [php file] on [line number]
    Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

    The two versions of the site are on the same server, in different folders.  Also, other parts of the new site that connect to the same database work fine.  It seems (so far) that the error is only when I call the function to populate the main page.

    Any ideas?

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

  16. Sending email from PHP

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

    Hello everyone, i am a newbie to PHP, so please be patient with me.

    I have the following script:


    $to1= $_POST['to'];
    $fro=$_POST['from'];
    $from="91".$fro."@ri.irisme.net";
    # convert it to an email format
    $to="91".$to1."@ri.irisme.net";
    $subject="hi";
    # message body .. can get it from a form using post method
    $body = $_POST['msg'];
    $header= "From:". $from."\r\n";
    $header.= "X-Mailer: PHP/". phpversion();
    if (mail($to,$subject,$body,$header,"-f $from"))
    {
    echo "To: $to \n";
    echo "From: $from \n";
    echo "Message: $body \n";
    echo "message sent successfully.";
    }
    else
    {
    echo "Message delivery failed...\n";
    }



    It sends emails aa sms. I have just taken up some webspace.
    Do i need an SMTP server to send the email? If so could you please guide me with some additional setup necessary to send emails to someone via PHP?

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

  17. Changing Form Action in IE

    Date: 05/01/05 (Web Development)    Keywords: php, browser, html, java, web

    i'm sorry, my mistake. i had an input with the name "action" and it was confusing the browser. if you ever run into a problem like this, check your s names ;)




    Hya!

    I'm working on a feature for my website that needs me to change a form action with javascript.
    It's actually pretty easy to achieve this with Firefox, but not in IE. Since i'm not turning my back on IE, eventhough i hate the browser, i really wanted to get this thing to work cross-browser.. for the user's sake. ;)

    Is it possible?


    an example, working on firefox

    
    function preview( id ) {
    
        // get form element
        var frm_obj = window.document.getElementById( id );
    
    
        // open window
        var w = window.open( "loading.html", "preview", "width=500,height=350,scrollbars=yes" );
    
    
        // change form attributes
        frm_obj.target = "preview";
        frm_obj.action = "preview.php";
    
    
        // hey ho, let's go!
        frm_obj.submit();
    
        // bring window up (could be open already)
        w.focus();
        
    }
    
    



    oh, and i've tried using setAttribute as well. no results.

    thanks in advance. ;)

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

  18. simple (?) help needed

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

    ok, so this is the thing

    i've got a .swf that loads a variable (" text ") from a text file into a dynamic text area

    « loadVariablesNum("textfile.txt",0); »

    so, in the .txt file i've got

    text= bla bla bla

    what i need, is a php script to edit that .txt ... does anyone know one? i was looking for something with a login area to enter the php backoffice, and easy to use.

    anyone can help?
    thanks in advanced :)

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

  19. PHP Syntax Exam

    Date: 05/07/05 (PHP Community)    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/296304.html

  20. Layout with WordPress

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

    Hello,

    I'm new to PHP and WordPress. Last night I got WordPress for my blog, and I've been trying to code myself a layout, and not have to use WordPress's templates! I understand it is possible, but I tried everything, and nothing worked. So I was wondering if anyone here is willing to help or kind of point me to the right direction.

    You can find it here: http://www.toujours-pur.net/blog

    Sorry if I posted this in the wrong place, feel free to delete my post!

    Thanks!

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

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