How To Give Personal User Url On A Dating Website Just Like MySpace Does?
I had posted a question regarding how to design high traffic fast
dating website on different PHP groups. I got a lot of useful
responses. I have added links to all the posts below for reference.
I am back with another question regarding the dating website. How do I
go about creating personal user url on the site like it is done on
MySpace.com
The personal url for user1 will look like www.myWebSite.com/user1
The first solution I know is to create a folder for each user and put a
index.php script that show the user profile. But then there would be a
lot of folders. how can I catch the user1 from the url request string
www.myWebSite.com/user1
The ssecond solution would be to set the page not found script in
Apache. But then again I need to capture the 'user1' from the request
string.
Discussion 1-
http://groups.google.com/group/Prof...96e1b11a08c5cf2
Discussion 2-
http://groups.google.com/group/php....5b3b100d70a196e
Discussion 3-
http://groups.google.com/group/PHP-...5531288b538882e
Discussion 4-
http://groups.google.com/group/mysq...8cff7c40c161889
Discussion 5-
http://groups.google.com/group/OOP-...ba2c6e36c3bc006
Discussion 6-
http://groups.google.com/group/PHP-...6c403cec4bc14e8
Discussion 7-
http://groups.google.com/group/comp...712f83d1cdb278d
Discussion 8-
http://groups.google.com/group/alt....14bf3f43c74f633
View Complete Forum Thread with Replies
Sponsored Links:
Related Messages:
PHP Dating Website Software Required
Im looking to start a UK dating site and interested in a quality script that will provide all i need to set this up. I need search by UK postcodes included and the ability to use the frame to build other information pages on the site. Ideally, i wish to customise using my own theme and logos. Ive seen loads of basic scripts on sites like ebay for this but have no idea what works and what doesnt. Anyone got any ideas? or has anyone experience they could pass on regarding scripts of this nature they may have used in the past .
View Replies !
View Related
Get User Info From Myspace/facebook/bebo Using CURL
I'm making a social networking site and I'm looking into an easy way for people to get signed up. Was just wondering if this was possible: Could a user put in their Myspace/facebook/bebo username and password then a script would remotely connect to the site and grab their user info and avatar etc? We're thinking that this would make it very easy and simple for people to join up, as they don't have to enter all that information again. I presume I'd be using cURL for this. Would their be any obstacles in my way?
View Replies !
View Related
Give User Different Site
I'm trying to set up a staging environment on my website where clients can see the progress on their web(site/page). I was wondering if there was a way using php and/or other common apache modules to change the document root of a subdomain based on login data, collected either by HTTP authentication or just by an HTML form... Without editing apache2.conf or any other server-wide configuration file. So for instance, joe visits stage.mydomain.com and is presented with a login request. once he logs in, stage.mydomain.com serves him the files contained in /web_designs/joes_site. But when jane logs in she is served the documents in /web_designs/janes_site while accessing the same url.
View Replies !
View Related
Give User A Choice Of Fields To Search With Full Text/Boolean?
I want to give the user the option of searching a combination of the fields $Topic, $Subtopic, $Theswords in Boolean/Full Text. The problem is if I make any of the fields empty prior to the query, I get a MySql syntax error message. The user has the option of selecting fields via checkboxes, but when the field is not selected the user will get the error message because the variable is empty in the query statemtnt. Are there any code suggestions for avoiding the error message when a field is not selected by the user to be searched? Code:
View Replies !
View Related
Website With User Interaction
I make a website where users after they login, can post their articles on categories I've set up on the page. I wouldnt like it to be a wiki style site, more like independent website, I would like to design it etc. I take some premade portal that has that option, that registered users can input their text and pics on premade categories.
View Replies !
View Related
Logging A User Out When They Leave Your Website...
I have been recently trying to implement a member interaction into my database. Right now I have it so they log in and it sets a column named "Logged_In" to "Yes" for their username, I can't seem to figure out how to Log them out when they leave. I tried to use the onUnload event in the body tag and popup a quick popup (which I didn't really want to do but only thing I could think of). But that will pop up a window every time you go to a differant URL (on the same domain). I'm mostly wondering if there is a way to have session, and detect if it expires. And when it does then update the database to set that column to = "No", or whatever, if so, how would I go about doing this. Or anyone know of a better way, and have some experience with anything like this?
View Replies !
View Related
Track The Time A User Is On A Website
What we're to be doing is implementing a referral type program on the site. Assume the following, Person A refers Person B to the site, it's stored in the database that Person B's referrer is Person A. So then, for each second Person B is on the site, we add one point to Person A's referral points (also set in the database). How can we track the user accurate enough (to the seconds) so that once Person B leaves the site, we know exactly when Person B closed the browser/went somewhere else, how long Person B was on the site, and simply use that info to give Person A his deserved referral points. We have access to our php.ini file for w/e reason, we've got database access, we can basically do anything w/ php, and such. Any ideas on how to do this? My only idea at the moment was to check every 5 minutes who was active in the past 5 minutes, and clear anyone who wasn't, but that didn't seem accurate.
View Replies !
View Related
PHP Dating Script
Been looking for a good PHP based dating script that is reasonably priced for a while. Several come close but are unfinished. I've already been burned by scripts almost done and then a complete breach of contract where the author dumps the site, no word to the purchasers, and then starts selling it elsewhere under a different domain (hello Ronald James aka RJ selling "Matchmaker Pro" -- don't by it -- it's copy protected too -- you'll be sorry if you invest anything even in the basic) Promises, etc. I'm thinking that a very good dating script should be able to be purchased for $200-500. You can get excellent content management systems, vbulletin, and a whole lot of other scripts which provide many more features than your basic dating script for a whole lot less. I've seen promises of a great script for $1,600 because you don't have to hire your own programmer -- yes, and I don't want to pay that much for a script everyone else has on their site too which is part of the economy of scale. Ridiculous. Another one is being sold at $700, still way too much. None of these places have been able to point me to people that actually paid for these scripts and are running even half successful web sites. Always themselves under different names and domains. My guess is whomever makes a reasonably good dating script and sells it for $300 will be raking it in. I will not touch the scripts that cost 300+ that require zend optimizer since this leaves the purchaser in hell when you discover bugs or company disappears and it's money thrown out the window. It has happened way too often before.
View Replies !
View Related
Changing Unix User Passwords On Website
I'm a new user of PHP and MySQL, already making progress in a very short time and astonished at how totally cool it all is. As always when I learn new stuff I'm jumping in to the deep end--or at least it seems like the deep end to me. Basically what I want to do is allow people who have the right to log onto the unix machine to be able to logon to my website with thier unix usernames and passwords and then change their passwords on the site. I'm seeing tutorials etc on authentication/tracking, well and good, but it's usually with a database, cookies, flat files, .htpasswd files etc. These I can manage. What I would like is some advice on how to do that. How do you use PHP to log onto a UNIX system and change the password via a database? What should I look for? Where do I start? I'm not at all averse to figuring out how to tie things together myself, but it would be nice to hear what to do and what not to do from experienced folks who've done it--things to watch out for etc...
View Replies !
View Related
Creating A User Generated Content Website
I'm planning to create a community site (in PHP and MySQL) where people can post some sort of helpful information. I want to include features that would allow people to rate this information and post comments about it. I would also like to make this information searchable, so I want to include tags. To help you understand it better, the website is sort of like digg.com or engadget.com or any other website that have content and comments on it. Sort of like a blog site. I already finished creating the login system. Now I need to work on the content posting system. I already thought about the SQL table to store this content. Here's what I have so far: ContentID, User, Title, ContentText, DatePosted, NumOfComments, Rating, Tags For the comments, I would assume the SQL table would look like this: ContentID, User, CommentNumber, CommentText Now, am I on the right track here? This is my first time creating something like this. Are there free scripts out there that does the same thing?
View Replies !
View Related
Tracking User Time On Website During Session
I am trying to write a tracking system to record the amount of time a user is logged in and actively doing stuff on a website. Are there any articles on how to do this? I just can't think of a good way to go about this. I was going to record the start of there session and update the current time on each page they visit and subtract the session start time from the current time but if they leave the website for an hour and come back on the same session it would update an hour. I also tried to verify the referer to see if they came from the website in question but that doesn't work because the referer isn't always set. Any ideas on how to go about this in the most accurate way?
View Replies !
View Related
Up Dating Football Tables
I want to have a table showing Football (Soccer) league from the premiership league. e.g. Position--Team--Pld--Won--Drawn--Lost--For--Against--Points 1 --Chel-- 9 -- 7 -- 1 -- 1 --21 -- 5 -- 22 And so on. The way i want to update this is through a custom CMS. However, i don't just want to make changes to the league, i want to fill out the result of the game e.g. chelsea 2 - 1 sunderland and that will then automatically correct the league, e.g. give chelsea 3 pts for winning, adding a win, adding 2 goals to the 'For' section and 1 for the 'Against' section. Then is the position of the team changes, alter this. Can someone point me in the right direction to get started. Is this even possible? How many db Tables will i need? i imagine it would be 2 tables, one for the results and one for the league table. How would i automatically run the update once the results have been filled out?
View Replies !
View Related
Dating Site PHP Scripts Out There
I am looking to start up a comprehensive Adult dating website and I need pre-made PHP scripts to set up the back-end for this project. Preferably someone out there has a set of pre-made scripts they would like to sell (must be PHP or other uncompiled language). We would also be interested in hiring someone to complete this project if the price was right. Will negotiate price based on feature-set. Please refer to the following (pretty standard) tech specs: -must run on unix/linux platform -mySQL database -scripts set up in PHP Some features we would like to have: -advanced search capability including zipcode-zipcode distance calculator -profile creator (simple and free, then more advanced when they sign up) -chat -internal messaging -video chat (nice to have but if you don't have it please still talk to me) -multiple pay scales (for example: free, pay as you play, monthly or gold,silver etc). -Admin control panel
View Replies !
View Related
Website Design Question Multi-user System
I will be using MySQL as the database to manage a website where users can upload images and files. I am not real sure how to create the database for this. Should I have a main account that the code uses in the background or should I have it so that each user creates a real MySQL account and just retrieve information based upon who is logged in?
View Replies !
View Related
Chat Script To Use On A Dating Site
where I can get a chat script to use on a dating site, where members can login and click on the member to start chatting something to be one on one not a general chat. match.com has a nice messenger type one, however not sure where I can get that as I think it is custom built. However anything suitable to serve the purpose will do.
View Replies !
View Related
Dating Site Multiple Field Search
I'm working on a new dating site and usually I do all the front end but I really want to increase my hours and learn back end. I've been getting into several books on PHP and MySQL and have worked with data bases before but am wondering if there was a faster route to find just what I need to know now than thumbing through pages. Are there any tutorials for multiple field searches like the ones used on dating websites anyone could direct me to???
View Replies !
View Related
Personal Greeting W/cookies And PHP
I would like to create a form that will create a cookie that will greet customers to my web site using their first name (which they will submit using the form). So whenever, say a customer named Matt visited my home page it will say something like "Welcome Matt! Thanks for visiting." I have scripts that do the trick with JavaScript, but if it's possible I prefer PHP4. The JavaScript also doesn't let people log-in if a cookie is not found. I would like to setup a personal greeting similar to amazon or cdnow. Can anyone help?
View Replies !
View Related
Personal Bb Code Style
if i look at this form im filling out now they have the bbcode buttons, how do they work and how can i use this sort of idea for a for i have to out put certain variables eg: if i am sending a email vaia my for and want all the first names to be included as a buton and last and the rest of there details, i think that this is VB code - is there a way to do it in PHP. also similer to the smilie faces it will replace it with the image when its submitted.
View Replies !
View Related
PHP 4 And MS Personal Web Server Installation
Just got the book "Beginning PHP4", and I'm trying to follow the instructions just as they are written. After going through the directions (installing PWS, installing PHP, allowing PWS to see php files) the book says to test that everything is working correctly by adding a file to my root directory and accessing it through URL The file, phpinfo.php, consists of: <? phpinfo();?> When I access this page, I'm supposed to see information such as "System, Build Date, Server API" in a table. All I see, however, is the code <? phpinfo();?> Is PHP supposed to be associated with a certain program? As of now, .php files are not associated with anything on my system.
View Replies !
View Related
Sessions Made Personal
I am just building a site for someone and i was wondering how can we make a session personal so when someone looks in their previous sessions in their browse they will be able to see Arabian Airlines rather than PHPSESSION? Below is the code i currently use to create the session. Code:
View Replies !
View Related
Defining Personal Upload_tmp_dir..?
We have a client who is providing Web Hosting Solutions to customers. One of the latest requirements is to enable PHP Scripting on the Hosting Servers. We are using PHP v4.4.0, but are running in an issue with File Uploads. In PHP.ini file there is a config for temporary folder for uploaded file. However, we dont want it to be pointing to a folder on the web server itself rather we want customers to define one in their own workspace (NAS share). Questions: 1. Is it possible using scripts to define a personal upload_temp_dir? If yes, how? 2. How PHP Parser works in above case (meaning will it performs usual cleanup)? 3. Can same be done for Session.SavePath? We are using Win2k3 Web Edition with SP1.
View Replies !
View Related
Search Section For A Personal Web Site
how easy is it to make a search section for a personal web site. Do you need a database, or can you create a keyword search section that will look for specific words on the page within a site? Also how easy is it to implement and style this search section?
View Replies !
View Related
Adding A Personal Code Library?
I have developed some functions for my site that I find myself reusing quite a bit. Up to now, I have copied and pasted these functions into each page. But surely there is some way to create a personal code library. I've even seen reference by others on the boards who have mentioned their personal library. How do I create one? Is it just a php file? like my_lib.php? Can I simply include this file in my code... include('my_lib.php'); How do I think call functions from it?
View Replies !
View Related
PHP & Myspace Etc..
I am currently undertaking a project in php. I'm updating a current website, which is just a standard blog, but my plan is to implement it as a similar site to myspace, i am just having trouble with figuring out what way to implement the multisite feature, as in, I want each user to be able to have their own 'space'/webpage, within which, they will have their own blog...
View Replies !
View Related
Myspace
I've been wanting to make a social networking for a while and I really want to get it done within 2 months. Everyone I've gone to though has basically said that making a myspace type website is too hard and that the development would cost +$20000. My question then is how did Tom and his friend get a team together to make such a difficult project.
View Replies !
View Related
Myspace Hide All
this is the code to hide everything on myspace. i want to hide everything but the default picture. does any one know how to change it so only the default picture will show up and thats it. Code:
View Replies !
View Related
Myspace Script
I am sure people have asked similar questions before and quite often I am sure beaty is in the eye of the beholder in these situations, But I have been reading around about CMS systems as I would like to use one to base a site on. I am currently unsure which is the best for my needs or if I really need one at all. I do not want to make a copy of myspace but was wondering if they used anysort of CMS system as the core of there system and if they do is it any good? I am a web designer and use php/mysql to build sites currently, both simple and complex, what I suppose I am looking for is a system that I can quickly install and set up for both types of site which I can learn to make life easier in the future.
View Replies !
View Related
MySpace URL Re-writing?
I just noticed on mySpace.com each user get their own kind of virtual directory. For example if you type www.myspace.com/nodoubt it goes to one profile or if you typw www.myspace.com/blackout it goes to another. How do they do this? I want so www.mydomain.com/name1 would point to www.mydomain.com/profile.php?id=1 or www.mydomain.com/name2 would point to www.mydomain.com/profile.php?id=2 How can I do that? also if you go to www.clubzone.com you'll notice that each member or gallery has their own .html file. Does this mean they create an html file for all their 300,000 users and 100,000 galleries?
View Replies !
View Related
MySpace Blog
The band homepage is written in PHP. I wrote an xsl stylesheet that transforms the blog into my wanted design. Here is the code: <? $doc = domxml_open_file("http://blog.myspace.com/blog/rss.cfm?friendID=70463944"); $xsl = domxml_xslt_stylesheet_file("blogMySpace.xsl"); $params = array(); $result = $xsl->process($doc,$params,false); $wholepage = $result->dump_mem(); print $wholepage; ?>
View Replies !
View Related
Myspace Like Blog Site
myspace has been the fastest growing website online the past few months (for anyone who's been sitting in the dark lately). I've been trying to come up with an idea for a website that would be very successful. I've managed schematicsforfree.com for the past few years and that has become very successful from the start, and could afford to hire help if needed. my idea is to create yet another blog community website like myspace, but of course it would be much bigger and better and more fun for guests. I'd like to use my ProSiteManager cms as a base and write modules for it to run the free community site. if anyone is interested, please shoot me an email or contact me on msn messenger. there's plenty of work to be done and plenty of money on the internet to be made....
View Replies !
View Related
Personalized Urls Like Myspace
Here's what I'd like to do: create a personlized url on a directory site like: http://www.somesite.com/myurl Now, obviously, you could make a folder for each person, but after a shorty time, this really clogs up your site's root. What I thought might work was capturing the $PHP_SELF and querying the database and redirecting. Does anyone know a sure way to do this or can point me in the right direction?
View Replies !
View Related
Script To Parse A Myspace Webpage?
I have been trying to figure out how people can grab the layout from a myspace page by using the friendid. I think they simply parse the myspace page for anything between <style> ... </style> and then send the code to a form. For example, this is one site that offers the feature: Code:
View Replies !
View Related
Regular Expression For Word Myspace
PHP Code: <?php $text = 'This is a myspace test of m*ys_p a+c..e variations on the word MyS.p*a#CE. The end.' if(preg_match_all('/m[^a-z]*y[^a-z]*s[^a-z]*p[^a-z]*a[^a-z]*c[^a-z]*e/i', $text, $matches)) { echo "<p>Found these matches:</p>............. nogdog gave me this code and it works well I thought until now I found a flaw in it myspace and myspace with a space in it and with that space being any character is matched except if that space = a letter so mLyspace is not matched but m1yspace is.
View Replies !
View Related
Getting From MY Site To Display On MYSPACE Or Similar...
Say that I make a nice little table in PHP on mywebserver, say for arguments sake www.mysite.com/myphptable which displays a list of events for a music venue. I want to display this same table (dynamically) on our MySpace page - myspace allows you to enter your own HTML to format your own page. BUT it is a .cfm suffix and not PHP. Is there a way I can call my table and display it as HTML on my MySpace page? Like an include or something...
View Replies !
View Related
Ajax Yahoo,MySpace,Live Style Search?
I have been looking for a example all day for how to do either a drop down choice search like myspace, or the kind that the yahoo, live search engines use where you can click a section and it changes, with the button to say. "Video Search" on the button, and would search that if some one was to search for something..
View Replies !
View Related
Why Do Does This Give Me An Error?
I have a file called t.php: <html> <body> <?php require "http://localhost/~derek/l.php"; rp(3); ?> </body> </html> and l.php: <?php echo "define function..."; function rp( $num ) { echo "rp: $num"; } echo "defined"; ?> When I load t.php into my browser it prints "define function...defined Fatal error: Call to undefined function: rp() in /home/derek/public_html/t.php on line 6" So, I know the library code is being loaded and executed (because the strings are echoed) but rp() isn't being defined. Experimentation shows it's not just functions which I'm not getting defined, as I get the same sort of error if I just define a variable and try to get it printed in t.php. Can someone tell me what I'm doing wrong? I'm using PHP-4.3.4 on SUSE LINUX-9.1.
View Replies !
View Related
Big -> Give Alert
I run a script in which users can upload an image, but i want to add an alert for if the image size is bigger than for example 250kb, so that the image can not be uploaded. for example the category is not filled in, i have if(document.PostForm.SelectCategory.value=="") { alert('Select category!'); document.PostForm.SelectCategory.focus(); return false; }
View Replies !
View Related
|