Everything posted by sravis
-
Mysql database storage
Hello; I would like to know how the mysql database schema is designed for storing private chat messages between 2 users. Like if i insert the every line of a chat as a new record, database will grow very huge and it may lead to server crash or slow working. I tried to store the full message in a xml file and later when chat is completed i dumpted that file into database. But here i have a problem at maintaining the history of the chat. And this process will really slows the app. Or can i store the messages at php sessions and finally dump into database. Because in some article i read that max storage of php session is 128MB I'm still worried about the Database structure. So whats the best way to store? I'm thinking how Google [Gtalk] will store the chat message? Which is very fast and user friendly. So please suggest me the best way. Thank you..
-
Please help on jquery-ajax sending php session variables
Please help on jquery-ajax sending php session variables I'm just practicing my php intermediate level. I would like to know how to send php session from one page to another page. Like: Page A = I want to send a data from this page A to admin/page B. Where Page B is inside admin folder and it is login projected, Page A is out of admin folder and it not login protected. i'm using jquery-ajax to send data when link is clicked. From Page A to Page B. $('.pageAlink').click(function() { $.get('admin/pageb.php', 'id=1&action=clicked', function(data) { // if works do something }); }); By the above code i can send the data from Page A to admin/Page C which is in admin folder and NOT login protected. If i try to send the same data to admin/Page B, it will redirect to login page and it wont accept any data since it is login protected. So if i want to send the data from Page A to admin/Page B i need to send session data too with the ajax request. I do i do that? Please show me the way. Thank you..
-
Problem will php upload please help?
Thank you so much i sorted out the problem.
-
Problem will php upload please help?
Hello; I have coded a upload page using php. Everything works fine and there is no problem in code. But when i upload the file and submit it i get successful upload and no error. After this when i go to that particular folder to see the uploaded file, i'm not able to see the file. I tried changing the folder location but still i can see the uploaded file. No problem with folder permission but still i cant find the uploaded file please help me. Result after uploading file: Array ( [name] => bg.jpg [type] => image/jpeg [tmp_name] => C:\xampp\tmp\phpE1.tmp [error] => 0 => 3634 )
-
Error while accessing to Template Manager in joomla 1.5
Hello; I have purchased template from joomlart named "JA Ironis", the template works good, but when i try to access Template Manager from back-end using my admin login details, i get this error "Server error The website encountered an error while retrieving http://www.domainName.com/administrator/index.php?option=com_templates. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request." How do i solve this issue? Please help me. Thank you..
-
Php date conversion - please help
hello; I want to calculate num of days b/w two dates, i have written script for doing this task like: $numOFdays = ceil(abs($startDate - $endDate) / 86400) (i.e) $numOFdays = ceil(abs(13-12-2011 - 22-12-2011) / 86400) it gives me 9 days. But it should be 10 days So how do i write code, so that it calculates each single days and gives me 10 instead of 9 Thank you
-
HTML5 help
I updated my version of DW and now its working
-
HTML5 help
Hello, I'm using Dreamweaver CS5 for building a HTML5 and CSS3 site, but DW CS5 dosesn't show code hinting for html5 and css3, what should i do for code hinting?
-
Any good extension for video chat in joomla 1.5?
Hello, thanks for replying, i'm new to PHP what might be the problem, please tell me.
-
How to get money im owed from client - not replying to me
Hello; Even i have same problem with my client. But he is in US and i'm in India he should pay me Rs.30,000 but when i mail him no reply, don't know what to do
-
PHP
Hello, Joomla is highly rated by designers and Drupal is highly rated by developers. My favorite one is JOOMLA
-
Any good extension for video chat in joomla 1.5?
Hello; I was using AV chat component to have a video chat in my website, but i get this error (error is below), so is their any good extension for video chat? Please suggest me a component. Parse error: syntax error, unexpected $end in C:\xampp\htdocs\abcd\administrator\components\com_avchat\admin.avchat.php on line 32 Regards
-
Problem with getting mails.
Hello; I have coded my feedback form using mail() function in php, when i fill the form and hit submit, it shows thank you message too, but the problem is i'm not getting mail to my email id!! So i asked my friend to host the same form in his server and there it works fine and i get the mails to my email id. By this i came to know that my code my form is working good, but not in my server. What might be the problem. Please help. Regards.
-
Fixed Background Image In CSS
Thank you so much, your post help me to solve my issue.
-
PHP DB connection failed !
Hello; When i run my php page in browser i got this error "Database connection failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1" What might be wrong. How will i rectify and handle this error.
-
Contact Form Help
Hello; I have created contact form using html and css. My fields are: name Company email address phone email message submit [button] Please give me code for this form to get posted to a particular email id. Give any of them like PHP or javascript. And please instruct me how to use it. Its very urgent please help me..
-
Joomla Blog and Forum Extension
Hello; I want to create Blog and Forum using joomla so can you suggest me the best extension for this. Im using joomla 1.5 This extension should contain features like. User: login/logout Creating New post Viewing Posts etc Admin: Creating New post Viewing Posts deleting posts etc..
-
Database in localhost
Thank for replying, i have installed mysql file in phpmyadmin and i noticed that in connection.php i have connection connecting to the server i.e "$conn = mysql_connect('xxxxx.xxxx.com','xxxxxx','xxxxxx');" so should i point it to localhost mysql, If yes what the link for that.
-
Database in localhost
Hello; Im new to php, can any one tell me how do i run database [.php] in localhost, im using dreamweaver cs3. If i even do manage site, i get this "Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'user1'@'localhost' (using password: YES) in C:\wamp\www\learning_php\working_with_databases\connecting_to_data.php on line 8 Could not connect: Access denied for user 'user1'@'localhost' (using password: YES)"
-
Blink Text In HTML
Hello; In HTML i have used a tag called blink like this. <blink>Text<blink> but text doesn't blinks. It works only in Firefox, not in chrome and not in IE. I even used text-decoration: blink; still no use. Please tell me how to make this to work in all the browsers. Thank you..
-
Please help for PHP start up
Hello; I know to use html and css very well but now i want to learn PHP. I dont know anything about PHP, but still i have lots of interest in learning. Please tell me which is the best way to start learning PHP and give me some links that contains resource for PHP. In how many days can i learn basics of PHP?
-
Joomla word counter
Hello; I have a requirement: when user visits my site he/she should have a option of uploading file (txt, doc or docx only) and once they upload, at the back-end it will count the number of words and it should display it to user. So please tell me which extension can perform this function. Please help me. Thank You..
-
Mac style buttons
Hello; I want to put max style buttons in my website, like check box etc all this to be in mac style. I have designer it in PSD but dont know how to code it(Like if i want to have a drop down menu in mac style). So is there any extension for dreamweaver cs5 (ready made mac style check boxes and buttons) or how do i the image and code it. Please tell me, it will be very useful for me. Thank you.
-
SEO suggestion
Hello friends; I know SEO seraches keywords in our website. But keywords in title will be read 1st or keywords in content? And how do i charge for making seo for website. Please suggest me. Thank You..
-
Previewing .php file
Hello; I have a website in .php i can view it in dreamweaver cs5 but when i preview that in browser i get this pop up "to preview pages conataining server-side code, your need a test server. would yo like to specify one now?" So after giving yes what are the setting that to be made, Or i have put that site folder inside www directory in wamp software. but when i give localhost/foldername, i can see the site but when i click on the click which takes me to .php file i get this "Parse error: parse error in C:\wamp\www\backup\Travel Insurance.php on line 776" why is it.