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
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.
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: phpphp_devwebdesignwebdev I apologize in advance to all the people that are members of one or more of these communities
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: phpphp_devwebdesignwebdev I apologize in advance to all the people that are members of one or more of these communities
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'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.
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.
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: phpphp_devwebdesignwebdev I apologize in advance to all the people that are members of one or more of these communities
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 [...]
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 [...]
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:
from home.php, follow a link to page.php
on page.php, click a link to work.php
work.php only modifies data, then gives a header->location to page.php
on page.php, click a link to home.php
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?
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.
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.
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?
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.
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.
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.
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.