Jump to content

Panta

Members
  • Content Count

    115
  • Joined

  • Last visited

Everything posted by Panta

  1. Please brothers i really need help on this, i have a script that populates from database, but my problem is that it will refresh for the records in the second selction box to occur and this makes the form in puts to drop, so i searched for way out and discovered i can achieve that with Ajax, but i have tried many scipts i found and none is working, am not good at ajax, so i decided to bring it forth for analysis. thanks these are my secipts, is meant to populate 3 drops down selection box. but it doesnt work ajax-dd3.php <!doctype html public "-//w3c//dtd html 3.2//en"><html>&
  2. ` <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script><script>var maxwords = 250;//function check_length(obj, cnt, rem){ var ary = obj.value.split(" "); // doubled spaces will throw this off var len = ary.length; cnt.innerHTML = len; rem.innerHTML = maxwords - len; if (len > maxwords) { alert("Message in '" + obj.name + "' limited to " + maxwords + " words."); ary = ary.slice(0,maxwords-1); obj.value = ary.join(" "); // truncate additional words cnt.innerHTML = maxwords;
  3. Thanks so much justsomeguy it works perfect I fixed the last line resize_image(( 'source' => 'input.jpg', 'dest' => 'output.jpg', 'w' => 200, 'h' => 400));Much love bro rep+
  4. Thanks so much , I will try to incoprate it and will return with my feedback. Much love rep+
  5. please i respect and appreciate this forum, am working on a project that needed people to upload picture which will go with a thumbnail, i have all that working but i really wish i could resize the picture to fixes Max. Height and a Max width, what i mean is that i want the pictures not to exceed some certin fixed height or weight. these are my codes all working fyn but i need help on how to fix the order. thanks as you input ur blessed efforts <?phpdefine('UPLOADED_IMAGE_DESTINATION', 'uploads/');define('PROCESSED_IMAGE_DESTINATION', 'logo/');function process_image_upload($Field){ $tem
  6. please i dont know what you mean by JSG break it down for me please
  7. $headers .= 'BCC: ' . implode(', ',$email_list) . "rn"; i have done that but at this line this is how i handled it, is it correct
  8. i tried to use the single one now but still cant send to gmail
  9. when i try to echo it nothing comes up, but yahoomails i have in the list do deliver just gmails that does not
  10. i dont have error but the problem is that on this line $headers .= 'BCC: ' . implode(', ',$email_list) . "rn"; the emails i have in the $email_list only yahoomails do send but i will not see any in the gmail that i also have listed in $email_list. thank you
  11. please i have been working on a code that will help me send bulk mail to me subscribers, i tried to use BCC but i notice that it works for yahoomail, but does not work for gmail, it sends only to yahoomails in the list and will not send to gmail, please these are my codes i need help <?phperror_reporting(0); if (isset($_POST['formType'])) { if ($_POST['formType'] === "join_us") {// read the list of emails from the file.$email_list = file("elist.txt");// count how many emails there are.$total_emails = count($email_list);// go through the list and trim off the newline character.for ($co
  12. please i have been working on a code that will help me send bulk mail to me subscribers, i tried to use BCC but i notice that it works for yahoomail, but does not work for gmail, it sends only to yahoomails in the list and will not send to gmail, please these are my codes i need help <?php error_reporting(0); if (isset($_POST['formType'])) { if ($_POST['formType'] === "join_us") { // read the list of emails from the file. $email_list = file("elist.txt"); // count how many emails there are. $total_emails = count($email_list); // go through the list and trim off the
  13. I will like to see the code you are using to redirect .cos with that your code you have not specified that you want to send mail.
  14. freedownlods.php <?php include('header.php') ;?> <div id="content"> <div class="post" id="post-12"> <h1 > Free Rendering Materials</h1> <div class="entry"> <div class="featured-image"> </div> <p class="url" > <p class="style3"> <strong>Revit</strong></p> <ol> <li> Click here to Download <a href="download.php?file=revit/79-ceilings-an-introduction-to-revit-ceilings.pdf">Revit Ceil
  15. I have attached my code avat.txt
  16. Please am new with php and I just uploaded my first site and in that my site I do encounter two problems that I don't see when using my local server.the first one is the main problem is that I have some tutorials I wish that people can download.in my local server if I try to download it will. Downlod.but now on the live server if I try to downlod it will just display a lot of code on the page ,and these code will come with numbers and alphabet.I guess there is somtin I ve not done write.plz I need help so that materials can be downloaded.the site is http://avatconcepts.com.ng/freedownloads.php
  17. Panta

    problem with login

    please am still new with php, i have a script that has been working well with my local server, but now i have uploaded it with my host.but my problem is that after registeration , when i try to login i will see an error message"Warning: Cannot modify header information - headers already sent by (output started at /home/avatconc/public_html/servicesdrawing.php:2) in /home/avatconc/public_html/libforall.php on line 94"please i dont know what to do , i need help.thanks
  18. The problem has been resolved.am greatful
  19. this is my correction but i still ve problems <?php require('siteadmin.header.php'); include_once ("inc/auth.php"); include('checkadmin.php'); $auth= new auth();?> <!-- CSS --> <link rel="stylesheet" href="css/form.css" type="text/css" /> <!-- JavaScript --> <script type="text/javascript" src="scripts/wufoo.js"></script> <div id="container"> <div class="info"> <h2>Add New Item</h2> </div> <div> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td><a href="adminindex.php">
  20. after uploading the pix and submiting the for i do get error massage saying" Notice: Undefined variable: filepath1 in C:\wamp\www\online_stoke\my\testing.php on line 53Notice: Undefined variable: filepath in C:\wamp\www\online_stoke\my\testing.php on line 53please can some one tell me where the problem is from these are my scripts<?php require('siteadmin.header.php'); include_once ("inc/auth.php"); include('checkadmin.php'); $auth= new auth();?> <!-- CSS --> <link rel="stylesheet" href="css/form.css" type="text/css" /> <!-- JavaScript --> <script type="text/javasc
  21. thank you all for yoyr efforts ,thescientist i used it as u advised and it worked am much much greatful
  22. hello friends and my masters am still new with php , i was designing a site when i came across this problem. i want to upload 3 images to a file in my local server and i also want therir location to be in my table in the database.but the script i have is just for one file.please am just asking for help her my code<?phpfunction insertstock($name, $info, $sn, $categorie,$package, $cost,$whouse ,$filepath) { $query = "INSERT INTO stock (name,info,sn,categorie,package,cost,whouse , pix) VALUES ('$name', '$info ', '$sn', '$categorie','$package', '$cost','$whouse' ,'$filepath')";
  23. Panta

    erro message

    please can anyone help me when trying to access some page on my new uploaded site but it keeps on displaying this erro message "Access denied for user '466844_panta1'@'%' to database 'user'"and this is the same user name that i use for login in to the database and the password is the password that i use for login in that i used at config.php which goes like this<?php$database_host = 'fdb2.host-ed.net';$database_user = '466844_panta1';$database_password = '*******';$database_name = 'user';$con = mysql_connect($database_host, $database_user, $database_password) or exit(mysql_error());mysql_se
  24. thanks but i do login with 466844_panta1 and my password and that is what i'm using in my confg.php scriptthis is the config.php<?php$database_host = 'fdb2.host-ed.net';$database_user = '466844_panta1';$database_password = '*******';$database_name = 'user';$con = mysql_connect($database_host, $database_user, $database_password) or exit(mysql_error());mysql_select_db($database_name, $con) or exit (mysql_error());?>so please check if there is any erro .thanks
×
×
  • Create New...