CW - My Latest Php Website
Its also the first shopping cart i've wrote .
Personally i find it a bit strange that given all the php scripters on
this newsgroup nobody ever posts a url to their work .
I suspect thats sometimes [1] because a lot of people never really
finish a website and they are more interested in php code snippets - not
saying thats a bad thing of course - it just seems a bit pointless if
you never really do anything with the gained knowledge .
[1] and non disclosure in some cases .
Anyway , As you will see from the website below i also have a interest
in web design and these days try to blend the 2 together .
Comments (good or bad) invited .
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Change Website To Php,mysql Data-driven Website
At the moment this site is not completely php. How can I make the content of the pages be from a mysql database? and how do I make the nav buttons work correctly connecting to the mysql database and displaying the correct content, ?
Migrating Php 4.0.5 To The Latest Php
will there be any problem in migrating from php 4.0.5 to the latest php version 4.2.3? i been reading the feature of 4.2.3 where they require session/post/get to be addressed as $_session['var'],$_post['var'] and $_get['var']. will this cause any problem to my existing codes in which i uses the plain $form_var and $session_var and not $HTTP_POST_VARS['var'] or similar.
Getting Latest Binaries
I've only used PHP under Windows OS. Now I'm trying to set it up in Linux. My problem is that my linux distro has an old version of PHP. So where can I get the latest binary? PHP.net doesn't distribute linux binaries anymore.
Latest Posts..
You know how on forum software they show the new posts, and then mark them as old.. how is this usually done? Is it via cookie, with all the ids stored in an array, or some other way?
Latest SQL Data...
Is there a way to get the last row of a table and get the data out of just that row? With PHP and MySQL.... I've tryed a simple way but it seams quite unstable: $finn_refnr = "SELECT refnr FROM ${db_records}"; $result_refnr = mysql_query($finn_refnr) or die(mysql_error()); while($row = mysql_fetch_array($result_refnr)){ $new_refnr = $row['refnr']; echo $new_refnr; }
Getting Latest Date
There are 3 documents 1,2 and 3 Person A completes document 1 on 1/1/2007, document 2 on 2/1/2007 and document 3 on 3/1/2007 Therefore, completes them all by 3/1/2007 Person B completes document 1 on 4/1/2007, document 2 on 2/1/2007 and document 3 on 3/1/2007 Therefore, completes them all by 4/1/2007 This is held in a table like id person_id document_id date_completed How do I order them by who completed them all first?
Show Latest Picture
I'm trying to show the latest picture uploaded, similar to a picture of the day, but not I'm going to name picture files 001.gif 002.gif 003.gif etc, but what I want to do is get a list of the pictures in a directory and show the one with the highest number.
Latest PHP Patch For Windows
http://www.php.net/release_4_1_2_win32.php As I'm very paranoid about security, I'm just checking in here to make sure I'm doing this right. I'm supposed to add: cgi.force_redirect 0|1 cgi.redirect_status_env ENV_VAR_NAME into php.ini. Now, it says to change 0|1 to 1 if you're running Apache, which I did, and says nothing else pertaining to that.
Retrieve Latest Result...
I need to make a query that pulls the latest added news article so whichever one has the highest id, how do I do this?
Selecting Latest Occurance Of Id In Mysqltable..
I have several mysql tables which consists of users..The mysql tables are named by the actual year, which means that a new table will be added each year...Well these users can occur one year...then dissapear...and then comeback another year... for example.. My "problem" is to get the last occurance/information from a specific user. (UID...user id..) Lets take an example.... I got these tables... 1999_tbl, 2000_tbl, 2001_tbl UID(scott) occurs in 1999_tbl and 2000_tbl but NOT in 2001_tbl I want the latest info from UID(scott)...which is in table 2000_tbl I also have a table with all "yeartable"-prefixes: ID | PREFIX 0 | 1999 1 | 2000 2 | 2001
Latest PEAR On W32, Refers To PHP5, Bug
latest PEAR on W32, refers to PHP5 inaccurately. I've seen posts regarding path's that get messed up, by lost ini's or registry settings. I don't think that's my case, because I can't find PHP5 in registry or any left-over ini's. This is a new PC that I use on the weekends mostly. The latest Pear version 1.4.5-I believe, also seems to have changed (written over) include_path and extension_dir settings of php.ini changing them to .;C:php5 and C:php5ext when there is no dir or reference to php5 in ini's registry etc ( only C:php ) I've run into some other related obstacles using Pear and Smarty on shared-host env. I'd like to be able to use Smarty, even in subdirectories and not have to hardcode path. While a recent version of Pear (1.4.0) claims to sync local and shared-host Pear modules, the instructions ask you to install locally in a very non-standard area. ? I'm running PHP 5.0.5 on WinXP - anyone else have this experience ? What's the best way to fix it ?
Calculating Span Between Earliest And Latest Dates
I'm wanting to find the span between the earliest and latest date in my database so I can calculate how many applications are filled out every day. It would be incredible if I could exclude weekends, but that's not necessary at this point. When I'm using a "date" type field in MySQL, I can use this ugly code:
Session Cookies Blocked By Latest Updates Of IE
I am using sessions for my applications and it was working perfectly fine until IE came up with its latest security patch which disables session cookies by default and increases the security level of the browser. Since then people are receiving errors.
Making Sure Page Shows Latest Content
Is there a way to make sure the client browser loads a php script from the server each time, rather than displaying what it has saved in the cache? I have a script which displays the contents of my Sql table, but the browser often displays the previous version, without any records that have been added since.
Display Latest Input Without Refresh Page
I have a mysql database that store the results of a game. This database will frequently update (new result will insert after game finished). There is any script ( i think javascript) that will display the latest result without refresh the page.
Developing A Page That Displays Latest 5 Images In A Database
I am currently changing my web site so that it is PHP and mySQL powered. On the front page I have an area that will display the latest images in my portfolio and the latest text description. Therefore, what I need is an admin page which allows me to upload images to a database which has a timestamp/date field, a thumbnail field, an image field, a text field for the title and a text field for the description. I also need a HTML form with inputs for the thumbnail upload, image upload, title and text description (in a textarea). It would also be useful to have the page display the database contents and allow me to edit the details and also, delete rows. I then need code for that will display the most recent 5 thumbnails and the title on my index.php page.
How To 'select' The Latest, "soon To Be" Auto_increment Number?
I have "auto_increment" for one of my fields. I'd like to know how to do a query to get the "next auto_increment" number. Example: I inserted a record and the record was assigned the Ƈ' for its auto_increment field. The next automatically auto_increment number will be 2. Can i write a query that tells me that the next auto_increment number will be? if so, what would it be?
PHP Website
Is the php website down. I am unable to access the documentation. www.php.net
RSS To Website
I have a client who has given me a link to some other websites RSS Feed , he want to display the data in his website from RSS FEED. Hoe to make this. Is it like reading the xml and displaying or is there some other way to do this.
Get Website URL
I've seen scripts which get the exact url to the path where I'm using this script. It gets the full website url with sub folders, etc.: http://www.test.com/... How can I do this in php?
Where To Get 'website Spider' Bot For PHP?
Hi, I have a somewhat weird request, but I have a legit reason. My new CMS is having performance problems, and we are trying to resolve the issue by implementing a bot or spider that grabs the HTML of the site every 30s. I was wondering if you guys could kindly tell me where to get such bots. The program will be installed on another server with cronjob to run every 15s. The 'website performance' check services out there are limited to 2 minute interval. I need something that hits the target site in question more frequently.
PHP Website Security
We have developed an ads network script for running ads network site. Can someone please guide us on security features that we must implement to prevent hecking and exploits...? We have looked into major security problems commonly known like image uploads checks but I would like to know more on other security checks that are generally over looked.
Set Two Cookies For The Same Website, But Not For The Same Url.
It is possible to set two cookies for the same website, but not for the same url? What i means is: you have 1 login form. Out of that loginform, two cookies should be set. One cookie should be set for yoursite.com. The other cookie should be set for subdomain.yoursite.com (like forum.yoursite.com). The information in this cookies will be different.
Website Picture From PHP
does anyone of you know a save method on PHP to relyably, maybe using other programs create scrennshots (thumbnails) of websites? I am the administrator of the open source project (at SourceForge) "TSEP - The Search Engine Project" (http://tsep.sf.net) and we might want to show pictures of the website our search engine has found. The generation process of the thumbnails should be pretty automatic (as much as possible) My tries to find an "optimal" solution did not bring any good results yet, so I am hopeing for better information here.
Backup Of Website
I am seeking after a backup script, to take backup of my webspace on my server, my server is www.servage.net i need to take backup 2 times per day. Via cronjob on www.cronjob.de but i have seeking i 2 days without reslut. Where can i find some webspace / serverspace backup scripts?
PHP Website Management
I have just bought a small website written with php & html. The vendors advised me that once I uploaded it to my website I could customise all the templates to give it whatever look I wanted. As a novice, I had no idea how difficult this would be - due to the fact that a php website is very disjointed. Can anyone tell me of any software I can download that will enable me to manage my website so that I can see the structure in it easily and make changes simply. (I thought I was buying 60 sets of templates but what I bought was a site with 60 pages).
How Can I Download A Website
I am not sure if this qustion is just for php expert: How can I download a website including all html, javascript, gifs, etc.
XML RSS Reader With BBC Website..
I have made an RSS reader and am testing on the BBC website, and I use this code to grab the contents of the XML file, however when I look at the contents grabbed by my function, and the HTML source of the bbc website XML, they are different... how is that even possible? Anyone have an XML parser that they could test this on please? Heres a sample link and my code: http://newsrss.bbc.co.uk/rss/sporto...ootball/rss.xml $ch = curl_init($feed); $fp = fopen($rss_name, "w"); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); fclose($fp);
Script To Log Into Website
I'm looking for a script that will attempt to log into a website (ex. Gmail) and report back if it suceeded or not. I don't know if this can be done with PHP or another language.
Ad Rotation On A Website
I am having trouble looking for a script that will rotate images from a standard text file. I have a folder set up with two images that rotate every time the page is refreshed. They also have a hyperlink so that when an image/ad is clicked on it goes to the advertiserments web address. The only problem is that the path to the images and corresponding hyperlink are in a javascript file. Is it possible to reference them from a standard text file so that a non-techie can login to webedit pro and edit the image name and url everytime the ad is being changed ? The script can be java scrip or preferably PHP, once it can reference a .txt file...Im happy
Creating Pdf From Website
Woudl it be possible to create a PDF from an internet explorer view, using php? I would like to create a hardcopy (pdf) from a report, currently generated and echoed by php and have adobe acrobat reader fired up on the push of a button....
Multilanguage Website
I'm trying to make a multilanguage website. When the user enters the site, I want to detect the language and automatically make a redirection. How can I do this? And how should I organize my data base so the user can switch languages easily?
Getting Info From A Website.
I have been doing PHP for over a year now but when I came round to writing a script I discovered that there was a reasonably sizeable gap in my knowledge that I didn't even know where to start finding out about. Anyway this is a reasonably nooby question: If I have a script on http://url-a.com/script.php and I want to get some dynamic information of my friend's site at http://url-b.com/info.php , How can I get it? I need to use get variables in getting it and it must also be server side.
Website Too Slow
I'm re-programming my Website (www.coaster.ch) in PHP and I find it too slow (although I have ADSL). That's more or less how it functions: Here my tables: 'COASTERS' (code of coaster, code of country, etc...) 'COUNTRIES' (code of country, names of countries in different languages, code of continent) 'CONTINENTS' (code of continent, names of continents in different languages) In my index.php (start site) I use a "while": I look for the first continent. I look for the first country I count all the coasters from 1st country echo country - number of coasters I look for the second country I count all the coasters from 2nd country .... .... I look for last continent.... The search and presentation in tables (I use 5 tables, 1 for each continent) is rapid. The problem is when I go the the sub-site of a country and want to come back to the index site: it takes too much time. Could it be that it is slow because it has to make the whole search again? Can I solve that by making the first search (at the begin of the session with something like requireOnce "search data) and charge all the information in an array and them when returning from a sub site only showing the array? I also thought that perhaps the reason could be that I use tables for continents and countries but otherwise I should have to include all these texts in .inc files...
Php To Spider A Website
I am looking for a script that I can use to spider a website, and then pull the images... I know how to do it for a single page, but, I would like to be able to do this for the entire site.
Searching For Website
my case is i want the user to input a certain url. upon pressing send button i want to see if that url is valid / active/ existing or not. is this possible? how to do this?
Searchbox For My Website
I am thinking abouot creating a search box on my website in php. can someone give me any ideas or direction on how to do a search box for my website or is this something I can download and install?
Db-driven Website On Cd
Does anyone know how best I can go about putting a database driven website onto CD? I regularly copy websites to CD but when there's a mysql database behind it, it is rather difficult! I bought a programme called MicroWeb Server but it's immensly complicated to use and configure and i'm after a simpler way of doing it.
Include Other Website
I have been stumped for days trying all sorts of different code with nothing working at all, even when someone mentioned to me that php include() was the way to go. What I am trying to do is gather information from a webpage and displaying it on mine. I have permission to do so and everything. I'm just not sure if I am on the right path here though.
Mirror A Website?
I use a website at work that you can only get into once you have logged in, is it possible to make a mirror of that site? I would not need the entire site, just the main page. The website is quene management type of system so I would only need the main page that shows the quene. I do not have access to the database or any of the backend.
Website Security
i dont know anythings about website security. i want to know about the script in .htaccess, to denied *.html/htm file. and the script in .htaccess to make sure the security in our web. coz my website often got hacked... Beside use .htaccess....what should we do to make sure our website is secure??
How To Read Another Website
how i could go about reading parts of another webbsite, say i type a website url in and click submit the script would goto that page and read certain pieces of information i told it to kinda thing what would be the best way to go abput it, i have just mastered xml files you need to load them in first before you can grab the relevant data but not sure how i would go about doing the same for webpages.
|