Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Programming & Web Design

Please post all support request related to Programming & Web Design here.

  1. Started by agath01,

    I am creating a table for my_music everything is working except for the confirmation screen. Please Help! Below are the files I am using, I think the confirmation should load in the add_record.php. Week4__4_.zip

    • 1 reply
    • 5.9k views
  2. Started by tjw,

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at W:\www\header\top.php:6) in W:\www\login\members.php on line 2 I keep getting this error only in uniform server. Ive used the same page on a few different web severs and no problems. does anyone have any ideals?

  3. Started by Tucker,

    Hey guys, I want to learn AJAX as I see there is some benefits to it, however I am not really sure what is involved in AJAX. From the topic I read in this forum "AJAX Support" I noticed that you guys mentioned, Javascript and PHP. But is there anything else? As googling it seems to come up with unrelated answers to my questions. Is there also a good tutorial website I can go to, to learn it? Faithful supporter

    • 4 replies
    • 8.5k views
  4. Started by jvk,

    Hello, I am learning AJAX at the moment and am using the Uniform Server as a test server. However the scripts don't seem to be wordking!? When I upload to an online server the scripts do work, so nothing wrong with that. Does Uniform Server support Ajax and if so, what could I be doing wrong. Thanks Jvk

  5. I'm currently trying to set up the Uniform Server as lightweight server for baking cakes (aka programming with CakePHP). Since it uses beautified URLs, and mod_rewrite, I got a problem. At first I got a 403 Error for the folder where I have placed Cake, but that was corrected using some Google-Fu and this forum and Options +FollowSymLinks Now I'm getting a 500 Error. I tried following .htaccess: Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> and <IfModule mod_rewrite.c> RewriteEngine on Options +FollowSymLinks RewriteRule ^$ …

    • 3 replies
    • 19.5k views
  6. Started by override,

    how to include a switch statement say i have a code name test1.php <?php switch ($i): case 0: echo "i equals 0"; break; case 1: echo "i equals 1"; break; case 2: echo "i equals 2"; break; default: echo "i is not equal to 0, 1 or 2"; endswitch; ?> and another one name test.php <?php include ("test1.php?i=1"); ?> <?php include ("test1.php?i=0"); ?> would it work if not what would work i have serched all over but no help to be found

    • 2 replies
    • 7.4k views
  7. Started by PdV,

    Hi gang, I've had a website developed for me which has a shop element to it. On the developers' server I access the shop using http://www.mainsite.com/shop but on my server I have to use http://www.mainsite.com/shop.php. I would rather use the former and my request to the developers has met with them giving me a .htaccess file to put in the root folder of my site. however whe I do noone has any access to any part of the site. I've complained to the developers but the reply I got was 'it works on our server'...and that's it! Needless to say I've got some issues brewing with the developers, but I won;t go into that now. Basically, can someone who knows lots mor…

    • 3 replies
    • 7.1k views
  8. Started by Leon,

    This probably isn't the correct forum. But does anyone have a copy of 3.6 Sourceforge seems to be down.

    • 1 reply
    • 5.3k views
  9. hi, i am using uni server about a week now and i know basics with html and css. but i want to use some php code i found but it doesn't work. i start my server ok the page opens but the php part doesn't show up at all!!! what do i have to do to enable the php on my portable server ????? also if it's possible tell me for the other languages, mysql etc (don't criticize "languages") in order to have a full fledged server to test and learn web programming!!! thanks

    • 3 replies
    • 24.2k views
  10. Hi, total beginner here I am doing an assignment for my Web Implementation project and am running a website on Uniserver. One of the things i have to achieve is to add page statistics to my site. i am allowed to use a 3rd party solution, and have used cdub's website stats. I've created the db and table in MySQL, no problem. However the logs.php and pageviews.php don't seem to be working correctly. They open without any 404 message etc, and the logs.php does display 1 user looking at 1 page. This is incorrect however as no matter how many times i look at all my pages, the figure never changes. The pageviews page opens but does not display anything, even the tables it i…

  11. Started by lateStudent,

    Hi everyone I am currently a student in a web programming course and we are using Uniserver for our classwork and assignments where we use PHP. I am trying to find a way to prgrammatically change the timeout setting for PHP session variables from the default value in the php.ini file (1440 secs). Using ini_set('session.gc_maxlifetime', 100); (both before and after session_start()) seems to change the timeout value as displayed using: echo ini_get('session.gc_maxlifetime'), but if I then reload the php page well after100 secs without closing the browser, all the session variables are still there with their previous values. I then manually changed the time out s…

  12. Started by spark,

    Here is the code. When I run it I don't get any error messages. I also don't get the values inserted into a record. Here is the code: <?php $itemNum = '123456789'; $title = 'test title'; $strtime = 'FEB-23-08 12:02:02'; $user="tim"; $password="supers"; $database="silver"; $db = mysql_connect(localhost,$user,$password); mysql_select_db($database,$db) or die( "Unable to select database"); $query ="INSERT INTO `silver`.`horse` SET `id` = '' , `itemNum` = '$itemNum' , `title` = 'this is y', `strDate` = '1:05' "; mysql_query($query,$db); mysql_close(); ?> When I put the value of $itemNum (123456789) in the query works and makes a new record. I have tried…

  13. Started by Tucker,

    I am truly boggled when creating my own template engine. I read about it, seen them, read it line by line and understand most of it's logic, I just can't seem to grasp the concept behind it to produce something that will achieve what I want... Its something to do with parsing the file is where I seem to screw things up... Any thoughts?

    • 3 replies
    • 8.1k views
  14. Started by Marshy,

    If you haven't already, you should check out the CodeIgniter framework located here. It's similair to CakePHP but extremely simple to learn and small to boot (756Kb).

    • 2 replies
    • 8.5k views
  15. Started by Marshy,

    This is a quick guide to show you how to setup XDebug and Notepad++ to debug your apps. The guide is split into two parts: Server and Client This guide presumes that you are running UniServer and Notepad++ locally. Server Download XDebug from XDebug. You need to download the Windows module for PHP 5.2.1-5.2.7. Copy the file to (Drive Letter):\Uniform Server\udrive\usr\local\php\extensions Open php.ini and scroll to the end of the file After the eaccelerator settings, insert the following lines [xdebug] zend_extension_ts=/usr/local/PHP/extensions/php_xdebug-2.0.2-5.2.5.dll xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_host=127.0.0.1 xdebug.remote_port…

  16. Started by DannyH,

    Hi Guys (Please forgive me but very new to this!!) First thing first (Love the uniform server) Just wondering if anyone has ever installed Vcalendar on Uniform Server, as having a problem with the day view. Requires: web server (IIS, Apache, ...), PHP 4.1 or higher (with mb extension enabled), MySQL 4.x or higher im not familiar with mb extensions? just need to know if its something im not doing? have posted on Vcalendar Fourm but no luck, have also send them a private message. Many Thanks for any help Danny

    • 12 replies
    • 13.7k views
  17. Started by jafo,

    Having a problem installing a php shopping cart. Getting the error memory_limit needs to be at least 20MB. Default in Uniform Server is 32M, have set it to others even higher still no go. Is this a problem with the way Apache was compiled using the RLimitMEM directive? Is there anyway to change this in https.conf or .htaccess? windows 2000 Uniform Server 3.5 Avactis Shopping cart 1.7.2 Thanks!

  18. Started by Tucker,

    Is it possible we can create our own session ID?

  19. Started by Steve Johnson,

    Hello, I am trying move data stored in an HTML hyperlink to MySQL. My understanding is that I have to use PHP to do this. My hyperlinks to the new page looks like this: <a href="info.php?ProdNum=123&ProdName=Shoes"> On the "info" page I have have created a cookie to hold these values and I can print them out on the 'info' page. I have also created a table named "cart" to hold the cookie. The table "cart" is located inside the database "store" (MySQL). This table is part of the database that I'm using in this site. Now, I need to insert the values from the link into my "cart" table. Because all the data for the insert is coming off my links, I don't need …

  20. Started by cedardoc,

    hi, I know zero about anything to do with ampp, but was told the application I want to build would best be done on one, so I installed Uniform Server on my computer. I'm stuck on page one of the php tutorial at http://www.freewebmasterhelp.com/tutorials/php. I've made the phpinfo.php file. then it says "upload it to your server in the normal way" and I don't know what that means. I read below in this forum "where to put my files" and discovered the W:www/ folder and pasted it into that, but when I pasted the file address plus the file name into the browser address window all I get is a blank screen and the word "Done" at the bottom. A) can someone tell me what…

  21. Started by Tucker,

    I hate IE I hate how it never works with IE on my first attempt. I have been working on a new site, everything is beginning to work out so I have begun to style it slowly, and things look fine until you try to view it on IE. Any tips on how to get it to work with IE without having to re-style it?

  22. Started by Tucker,

    I am trying to figure out a way so i can allow people to use their username with the worry of caps lock on. any suggestions?

  23. Started by tjw,

    when create a form(form name = name) in html and set the action to a php page and method post after submiting the form it pulls up the php page but i cant even to read a simple (echo $name) varible using the form name in uniform sever. the pages work fine on my host serever.

  24. Started by Snipet,

    Hello, i have installed Apache on my windows platform and working OK, but when i stop apache and start Uniform server i have problem with croatian characters. How i can configure apache on Uniform server for that problem, or... THX.

  25. Started by Tucker,

    Ok I have been trying to make a login system, but it never works. Honestly Im about to give us... It's driving me insane. So now I ask can you guys help me. Well first I better explain what needs to be involved in the system, because it's going to be esential for my site, it needs this login system so you can login and out very easily, and also it cant be stored in cookies you know what I mean. Anyway so where do I start off with?

    • 19 replies
    • 14.3k views

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.