Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





PHP / HTML Calender


im looking to make an events calender in PHP/HTML. The calender would be simple with a link on each date, once you click on the link it would post the date value to a detailed info page using the GET method, i would then use the date value to search mysql and display that days events on a seperate page.

Now i have been looking around the net and came across a few javascript generated calenders, but i cant seem to find a solution that will allow me to control the calender content using PHP. Has anyone ever tried this?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
MS Outlook Calender To Web Calender
Does any one know of an open source calender sync that will take my appointment in outlook and post them to a web calender. I schedule alot of meeting and it would be great to have this feature made avialable so I don't always have to work so much at tring to schedule a time using emails.

View Replies !
Calender
I am creating a PHP calendar from when I can click a specific date and save the date in the database together with the user who click the the date in the calendar.

View Replies !
Days In A Calender
I am trying to write a calender display that shows the days of the month accross the top of a table, and people's names down the side. One of the things I would like to do is to change the colour when the days are Saturday or Sunday. PHP Code:

View Replies !
Simple Calender
I am developing a very simple calendar that displays links to classes that fall within a given month. To have the page display the current month's classes, I have used: PHP Code:

View Replies !
Popup Calender
In php how to popup Calender and on click date ,month and year its value store in textfield and those value store in database.

View Replies !
Creating A Calender
I would like to create an online calendar for a friend. It needs to be able to add notes on each day and if possible highlight the boxes. That's all.

I promise, I have checked all the posts on this site. I have gone through Google. I have done everything I can. I'm looking for a link to a tutorial, a script that needs little customization or some sort of magical dwarf that could come and do it for me.

I really have no clue on anything practical in PHP yet, and what's more I have a horrible feeling that this task could include mySQL and database-y things....

You people have been so helpful before, any chance you could be again??

View Replies !
Date Calender
from where can i get the Date Calender just like in Phpmyadmin where user selects date from a calender page and the result returns in a timestamp ? you can see it when u select a date data type and insert the record thru phpmyadmin's INSERT option , you get this java script popup calnder.

View Replies !
How To Get The Calender Onto One Of My Pages.
I created a web calender using php and it is tied to sql. I am using yahoo for hosting but I cannot figure out how to get the calender onto one of my pages.

View Replies !
Login & Calender
I'am wondering tha is benifit off creating loggin class instead of function? is there eny? and my next thought is about calendet. I ll have 3 calenders (for 3 diff month) on page with ll show week, day, and they ll by clickble. is there any benefits to writte class instead of funktion? I mean if I writte class so I have to create 3 object with ll take more place in server memory. but if I have one funktion wich I call 3 times it ll by faster( ).

View Replies !
Specific Calender
I'm a designer by trade so PHP can sometimes be a little out of my comfort zone, but thats always a good place to be, right? I have a specific and I should imagine very easy thing i need to set up. I'm making a website for a band who play a lot of live shows. I wonder if anyone has the best solution to make a list of their shows that automatically deletes a show once it's date has passed. You know the way, say, the Myspace live list works. I don't need any fancy calender graphics or anything like that. Just a self-updating list.

View Replies !
Converting A Calender Date
I am converting a calender date..i got a example from PHP Manual. the code is PHP Code:

View Replies !
Calender Script/Schedule
Does anyone have any recommendations or tips on where I can go to find a good scheduling script or a tutorial to make one? I'd perfer to make my own for security reasons so I know the code and for later addons.

Basically I need to re-create something like http://radio.virtualdj.com/schedule/schedule.php where djs can login to book a time on the online radio and then it blocks the slot off.

View Replies !
To Display The Events In Calender
I have designed a event calender in which i have to display an anchor for the dates on which events are added. the calender is getting displayed but the event dates are not getting displayed within the calender.

View Replies !
Online Booking Calender
I wanted to put a calender on my website to allow people to see up coming clasess we have and allow them to booking/pay for them also. I would add them in the back end and how many spots are availble and when someone clicks on to pay for the class and checks out all the way it would subtract it from the total amount.

I would also like it to show on the date when all spots are gone Sold out and when only one is left only 1 spot left. I would like to see if there is a script out already that does this now. I am new to php/mysql so it would be great to find this.

View Replies !
Calender - Availability Chart
I have availability on my site in an calendar and I manually introduces if available for that day or not. But I want to do it autmatically. At the moment I have the reservations in an database table, I have arrival in one column and departures in another column, both date types.

View Replies !
Displaying Files In A Folder Using A Calender
I have excel sheets generated daily and weekly in this format for filenames..for daily sheets the filename is Jan-10-2002 (mmm-dd-yyyy) and weekly Week-39-2002. I have a script that uploads to a constant folder all the excel sheets.

Is there a script that can display the daily scripts in form of a calender. I.E a user can choose to view or download the sheet by choosing the date? Also another for displaying weekly excel sheets in a weekly format.

View Replies !
Calender Change The Background Colour
im have made a calender that i want to tie into a sql database , and depending on the value in the database will change the background colour of that day in the calender, the problem im having is with the following:

$colour = "#FF0000"; // this is just to test whether the background colour changes
$cal_event_opentd = "<td align=center bgcolor=#<?php echo $colour;?><b>"; 

but for some reason the backgroud doesnt change,can anyone tell me where im going wrong.

View Replies !
Calender / Date Picker Script
I have been looking for a script to display a calender / date picker within my web page to be able to select a date from.  Different from the ones I have found, I want to be able jump back and forward through months / years without having to reload the page.  I guess this will probably done using somthing client side such as javascript or CSS?  Can anybody give poitn me to one or give me something to start from?

View Replies !
PHP "Calender Like" Pop Up To Select Date And Store As Variable In Mysql Format?
I use to have this feature on my site about two years ago when i hired someone. It would allow the user to select between two different dates, via a small calender, save it as a variable then query the database.

Does anyone know where I can find the script for the small calender? I think it must of been populated by an external clock since all the dates were accurate etc. July 21st was on a saturday.

View Replies !
Inserting Adsense Code - Html Program That Automatically Coverts All My Text Files To Html Webpages?
I've purchased a text to html program that automatically coverts all my text files to html webpages within a template, but the only problem is how do I insert my adsense code into all 250 pages? I've seen articles regarding PHP includes for page templates, but I'm not sure how this would work inserting my code.

View Replies !
PHP HTML Email Doesn't Format The Text Using The Html Tags
I had a PHP script that sent an html email from a Flash form. It was all working on a Windows based server. Then my server was switched to a Linux based one. It now sends the email, but has a lot of random characters and doesn't format the text using the html tags. Code:

View Replies !
Can't Get Apache To Run PHP Inside Html From Localhost - Works Fine From /var/ww/html
I had a look at the stantonfinley fedora core 5 instructions and robooted but to no avail. PHP scripts work fine from var/www/html whether the suffix is .php or .htm but not from localhost. Code:

View Replies !
HTML Email Using PHP Problem (Receive Html Tags)
When I send the html email, the only thing I receive is the tags (the
html codes basically). I want to be able to see the email like a html
page, what is wrong with my code? Here is a copy paste of it.

$HTML = "</html><body><img src='http://www.somewebsite.com/
someimage.jpg'></body></html>";

$headers = "From: $from
";
$headers .= "MIME-Version: 1.0
";
$boundary = uniqid("HTMLDEMO");
// Now we attach the HTML version

$headers .= "--$boundary
".
"Content-Type: text/html; charset=ISO-8859-1
".
"Content-Transfer-Encoding: base64

";

$headers .= chunk_split(base64_encode($HTML));

mail($to,$subject,"",$headers);

print "mail Sent<br>";

The email I receive has this as text:

</html><body><img src='http://www.somewebsite.com/someimage.jpg'></
body></html>

View Replies !
RemoveHandler .html .htm (parse Php In .html Files)
I want to parse php in .html files.

I put this in .htacces file:

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

Its work, but some of my php aplications have urls:

www.mysite.com/this-is-page

without .html in the end

how to parse that? Which code I must use.

View Replies !
Embed Php Generated Html In Another Html Page
I am trying to include some php generated html in a page that is just a standard html file, NOT a php file. I have seen other html pages do this by including an src to the cgi script in script tags, like this:

<script src="http://someurl.com/somescript.cgi"></script>

the html page loads and the script is executed and the returned html is displayed in the calling page. So, I tried this:

<script src="http://someurl.com/somescript.php"></script>

It doesnt work!!

View Replies !
.html' Page Be Replaced By '.html.php'
Can a '.html' page be replaced by '.html.php' page via RewriteRule? To clarify, I'm using a software that formats the look of the site using .html pages. I'd like to add PHP code to that page but of course, it is not of the right page type.

What I was wondering is Could I create a duplicate of that '.html' page, rename it to .g. '.html.php' and make the revisions and then just create a RewriteRule that redirects the '.html' page to the '.html.php' without generating an error?

The alternative and undesired way of doing it would be to rename the original page to '.html.php' and find and revise ALL of the routines that call that page. That would create a revision nightmare especially upon upgrading the software.

View Replies !
Html Within Works, But Within Html Doesnt
Below are two different ways of writing the same script. The top one works
but the bottom one displays nothing in the list. Code:

View Replies !
Require_once(&lt;html Fragment File&gt;) Vs Document.write(&lt;html Fragment&gt;)
To reuse common fragments of html on many pages I have used javascript functions, called from a linked .js file, which are precisely one instruction: document.write(<the html>).
I'm starting to learn PHP now and see that a require_once(<url for file containing the html fragment>); will have the same affect.

My question is, which method is more efficient? i.e. renders faster?

P.S. is there a simple way to set up testing-only server-software on my local machine so i can debug php locally before uploading them to site's server?

View Replies !
DOMDocument Thinks "<html></html>" Has Two ChildNodes?
I'm trying to mess around with PHP5's DOM functions and have run into
something that confuses me:

<?php
$dom = new DOMDocument();
$dom->loadHTML('<html></html>');

echo $dom->childNodes->length;
?>

Why is the output 2? Shouldn't it be 1?

View Replies !
$_POST From HTML --> PHP --> HTML
I've read a bunch of threads but I think I'm missing something.

I am using paypal as a payment method for a client.

But I need to do some variable checking before sending the customer to the paypal page.

I want to pass the variables to paypal as post (so the url doen't get crazy).

Is there a way to pass post variables to a PHP page that doesn't ouput anything (expect header redirect), and include those variables so they appear at the page that is redirected to?

View Replies !
HTML With PHP, How I Can Add PHP-code In HTML...
Could you help me. How i can add my PHP script or PHP- code in HTML-file.

View Replies !
PHP In Html Or Outside Html Page?
what's better, php code in html page or outside the page in seperate php file...the thing is i have my sql data in that code and i don't want people to see it, can people open up the php files?

View Replies !
Html Emails Vs. Non-html
I've sent out html emails and I have had a few people tell me they can't see the html, only the raw code. I imagine it's easy to tell them to activate viewing their emails in html. But, is there a way for the code to distinguish between emails that do not view the html properly? How can I fix this situation?

View Replies !
<link:page.html,xxx> => <a Href="page.html?id=xxx">
I want to transform this code <link:page.html,xxx> to

<a href="page.html?id=xxx"> dynamically.

I tried out alot of preg_replace stuff, but I didn't get to manage it.

View Replies !
Include An Html File In Another Html File?
Can I include an html file in another html file usign PHP? Something like the way you would inlclude a text file, only have the html elements show up?

View Replies !
.doc To .txt/.html?
Hi everyone,

I'm making a site where people can upload articles, that are then stored in a mySQL db. The problem will come, of course, when people want to upload Word documents. Which they will.

Is there any way in PHP of turning the .doc file into a .txt? Or even better, a html file with any formatting (bold etc) intact?

A problem I have with my current site, on a related note, is that when people cut and paste from a word document into the form field, then submit it to the db, the resulting text is displayed with non-valid ASCII characters, which the w3c validator chokes on. I'm pretty sure there is a function that converts them, but a search of the manual didn't bring it up.

I'd really appreciate any help you can give me...

View Replies !
HTML 2 PHP
I'm trying to convert my site from html to php. Instead off having to write seperate html files I want to insert my files in a kind of template file (index.php).

I know that the include() function can do that so I have links in the form of index.php?file=whatever.php, but i don't want directly link to my files directly but i want to user variables for that. so my url will say index.php?file=variable or something.

Can I set variables in my index.php so he checks for that variable and replaces the $file with that variable? So if my variable is $foo='anypage.php' that my url will say index.php?file=foo instead of the real filename.

View Replies !
Html Into Xml Tag?
do u know how can i put html into and xml tag
Example:

<element><br></element>

i receive error "the page is not well formatted" ...



View Replies !
HTML & PHP
how do i define a php variable using html?
i want to set an shtml page as a page with links to products - when each
button is pressed it it sets the product_category variable and lists all
entries with this variable - how do i set the html link to set the
variable? wat do i need to set the product_category to?

View Replies !
--PHP To HTML
if that's the case, please just tell me where the best place for
a newbie PHP question would be.

I'm just learning PHP, and I need to know how to pass data from an HTML
input form to become the content of a new HTML page, using PHP.

In other words, I have an HTML page that lists parenting program
information, thus:

PROGRAM 1
Start Date: Aug 5
End Date: Dec 5
Time: Every second Thursday, 11:00am to 1:30pm
Location: X Building
Duration: 12 weeks
Capacity: 10 parents

PROGRAM 2
Start Date: Aug 7
End Date: Oct 14
Time: Wednesdays, 6:00pm to 9:00pm
Location: Y Building
Duration: 10 weeks
Capacity: 15 parents, up to 30 children

There are about 15-20 programs being offered at any given time, and they're
constantly being added, deleted, and changed, so it's too hard to update
them manually myself. What I want to do is:

1) Design an HTML input form on an intranet page that will allow users to
add, change, or edit program data based on the fields listed above. I know
enough HTML to do this.

2) Take that data and pass it to a new HTML file that will be available to
the public, called "Our Program Info", which will list all the program info.

I did try to RTFM to figure out step 2; but the manual is so large, and I'm
so bad at programming in general (the only reason I'm doing this is because
my wife runs the charity organization that this is for), that I couldn't
find the right place to look. If someone could (gently) nudge me in the
right direction,

View Replies !
PHP-Yes, HTML-No --- Why?
I have a tiny program:

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>MyTitle</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
</head>
<body>

<?php
$host = $_SERVER['HTTP_HOST'];
$server = strtolower($host);

echo 'My variables<bg>'

echo("<br>Host: $host");
echo("<br>Server: $server");

?>
</body>
</html>

I upload it to my webserver as test.html and as test.php. Then I test
them in my webbrowser. The test.html does not work, but the test.php
does.

View Replies !
PHP Using Php Var In Html
What is going wrong?

$mystring= "part1 part2 part3" // remark the spaces!
.....
<td >
<input type="text" name="test" size="50" value=<?echo ($mystring);?>>
</td>
.......
the text field will only show "part1" and not the rest of the string!

View Replies !
Php To Html?
I urgently need to develop a site with around 30-40 pages.

The site must be multilingual. Usually I use a top.php which generates a
lot of my structure. Then for every page I do:

include('top.php');
....page stuff...
include('footer.php');

in this case if I want to add a simple thing in my menu I only change it
in top.php. For the language part I inlcude a lang.php which is like this:

$lang["menuHome"]["en"]="Home";
$lang["menuHome"]["gr"]="Αρχική";

and so on. In my pages I only put print $lang["menuHome"][$l] where $l
is "en" or "gr" (http://.../page.php?l=en)

The site I must develop must be in php for the web but the customer
asked to have it on a CD-ROM, which of course should be simple html.

Is there a tool to convert my site in simple html?


View Replies !
Doc -> HTML
Google has a cool way of showing .doc files in html format. can this be done using PHP.

View Replies !
Html To Doc And Pdf ?
After suffering with asp.net, i finally convinced the company to turn the
application we are using to PHP but my concern is, what is the easiest and best way to convert html that is generated from mysql databse to microsoft word and pdf files? The application will run on a linux server...

View Replies !
Php On Html?
Can I add php code directly to an html document or is it possible to
have an include on an html page the read a php document?
If so how would I do it?

View Replies !
Php, Html?
I want to use WYSIWYG instead of writing html myself, but is  it not possible to use wysiwyg with php?

View Replies !
PHP To HTML
I have a page, handout.php that prints out value, and I was wondering if there was a way to, on the click of a button, turning that php page into a html page with the date.

For example I click the button and it saves it as page22_07_07.html And then clears everything from database that was in that table.

View Replies !
RGB To HTML
I have this mysql table field with a RGB value like 120-10-200 and I nead this php function to convert this value into html color ...

View Replies !
PHP From HTML?
I've created a dynamic site using PHP and MYSQL which is working great. To save server load, I have an admin feature that dumps all the pages (static) to HTML for browsing. However, on the dynamic site, I have a php include with checks IP Address and records a hit if it is unique. As the HTML dumping simply reads the source of the outputted dynamic page and dumps to HTML, the IP Addresd feature doesn't work.

Is there a way to call a PHP Include from HTML or do I need to dump all the static pages to php instead?

View Replies !
.html To .php ?
ive got this website up and running in basicly only html , images and iframes , but its kinda slow when there are so many things to load , so i was wondering how do i change it to php ? how do i code a finished html website into a php website ?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved