Home >


  • Send a Complete web page via email [on hold]April 13

    I need to develop an application to send a COMPLETE web page via email, please help me, am using cURL and preg_match_all but it does'nt work at 100%

  • Why is 'admin' missing from my admin links?April 9

    I cloned a wordpress site to my local machine. Then I ran PHP's built in web server in the root of the WordPress site, via 'php -S localhost:3000'. I added my db credentials in wp-config.php. Then I added the following to the top of my wp-config.php

  • Unusable menus and "Illegal widget setting ID: nav_menu_item[]" errorApril 9

    This is a bug in my WP install that has crept up unknowingly; I can't say for sure when it began. To describe it: there were menus created in the Appearance -> Menus page early in the site's history, and they work perfectly, as in: They have menu ite

  • Randomly Assign an Image's Alt Text Based on Data From PostApril 8

    I would like randomly assign an image an alt text based on taxonomy entered by the user on a post that the image is attached if there is no alt text entered. For example, on a post that has an image, I would like to randomly assign something like: "U

  • Why can't I add picture from tweet via twitter api?March 16

    I've hooked up the twitter API via PHP and I can get the objects without issue. However when I grab the media URL and try to stick it in an image tag it comes up as a 1px by 1px image. I tried directly sticking in a twitter picture and it does the sa

  • gcm invalid registration errorMarch 16

    i pass to the server a nickname and then i get registration id by nickname from my database. GOOGLE_API_KEY is a server key generated by google gcm api. this is the php code of the server: <?php require_once("db_config.php"); $con = mysqli_co

  • How to include MySQLi connection and use within PHP ClassMarch 15

    Let me be clear: this is the first time that I'm trying to learn OOP in PHP. Currently, the MySQLi connection is setup in my config.php file through $mysqli. However, I'm running into difficulty when it comes to implementing it into a class - which i

  • how to optimize mysql fulltext searchMarch 13

    When searching nice language there shows flowing result and if i want to give 1 score for one word repeated (like a nice nice) results what should i do. For example in the result PHP is a PHP is a nice nice gets 2 score +-----------------------------

  • Ajax gets the content but href links not workingMarch 11

    Can anybody tell me why a tag href not working when the ajax request content is loaded to the page. Eg. <a href="#"> class="script" like </a> I am running a script on click of this href but it not running when i load this h

  • PHP array to JS array to use in google mapFebruary 10

    Hi I want to use some data stored in a php array to use it in google map api, to populate multiple locations in a the map. I use the loop to create my php array. <?php while ( $the_query->have_posts() ) : $the_query->the_post();?> $locations_d

  • media_handle_sideload is resizing my image?February 10

    I'm uploading a list of images via my wp plugin using the media_handle_sideload function. The problem is it's resizing and croping my images. Is there any way to upload the image without changing the dimensions ?

  • Create a a form for custom taxonomy termsFebruary 9

    Currently i am displaying a list of my custom taxonomy (contenttags). These are displayed in a list using the code below, which then displays the posts under that taxonomy. <?php $taxonomy = 'contenttags'; $terms = get_terms($taxonomy); // Get all te

  • Please help me understand this PHP hackFebruary 1

    We have found this on a hacked PHP webserver. It was in a single file. This file was included from somewhere else with @require. That's what we know: This site is running PHP 5.3 The site had thousands of 'Viagra' type URLs that were crawled by Googl

  • PHP: get rank value and convert in level - function()January 12

    I got a function that must to convert a rank value (i.e. 35 exp) and convert into the related level (i.e. Level 2) function level($rank) { if ( $rank = 0 && $rank >= 5 ) { $level = 1; } elseif ( $rank <= 6 && $rank >= 20 ) { $leve

  • Export Google Calendar via PHP APIJanuary 11

    I'm trying to create a basic export script for Google Calendar to show events in a formatted list from a given date range. This isn't for an app or anything - it's just something for internal use. The build I have works, but the problem is that due t

  • PCL PHP PDF PJL printingJanuary 8

    we have some ricoh printers in our offices and we want to print from php using a simple socket but some documents are pre printed and are located in tray 2 the default sheets are in tray 1 . i want to be able to select a tray of that printer using a

  • Woo commerce widget to show product categoriesJanuary 8

    I am trying to develop a widget to give the user the ability to navigate through products categories. Let's assume i have the following structure : Disc media -genre --artist ---album The goal is to have two widgets, one to show all the genre categor

  • FTP Service - Server Side PreprocessingDecember 20

    Context I am building a very large application with a web-based GUI connecting to an API. Obviously, these services are built on HTTP. The application will have various dynamically generated files; ranging from large PDF reports, to DXF drawings, and

  • woocommerce product variantsDecember 13

    There are different variants in my products http://beta.pixeller.co/ptm/product/stainless-steel-round-tube/ Whenever user select custom from drop down it should show a text field so user can type custom value and pass it to cart, how this can be done

  • mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in wp_db.phpDecember 13

    I recently updated my wordpress to 4.4.2 and also upgraded php version to 5.6 on server ..Now the site have started showing this error mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 13 q. 0.409 s.